Skip to content

Instantly share code, notes, and snippets.

@portante
Last active December 17, 2015 08:18
Show Gist options
  • Save portante/5578572 to your computer and use it in GitHub Desktop.
Save portante/5578572 to your computer and use it in GitHub Desktop.
Table of actions taken in Swift swift/obj/server.py module for the ObjectController for all HTTP methods. Each action is representative of the steps taken to validate a request up to the point where a DiskFile object is instantiated.
Operations | POST | PUT | GET | HEAD | DELETE | REPLICATE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
split_path | split_path | split_path | split_path | split_path | split_path
validate_device_partition | validate_device_partition | validate_device_partition | validate_device_partition | validate_device_partition | validate_device_partition
X-timestamp check | X-timestamp check | | | X-timestamp check |
| check_object_creation | | | |
Delete-at check | Delete-at check | | | |
mount_check | mount_check | mount_check | mount_check | mount_check | mount_check
DiskFile | DiskFile | DiskFile | DiskFile | DiskFile |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment