aboutsummaryrefslogtreecommitdiff
path: root/postgres-examples/test_client.py
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-12-01 12:56:42 -0800
committerchrislu <chris.lu@gmail.com>2025-12-01 13:28:21 -0800
commit44d0925d7bd932e8836e8884e751191231b6a298 (patch)
tree2f003b7bf7996da9efd1231a44e3856057dd0d20 /postgres-examples/test_client.py
parent3675d9db016c486cffcd77e67eaf7802aefd3f18 (diff)
downloadseaweedfs-44d0925d7bd932e8836e8884e751191231b6a298.tar.xz
seaweedfs-44d0925d7bd932e8836e8884e751191231b6a298.zip
Add TUS HTTP handlers
Implements TUS protocol HTTP handlers: - tusHandler: Main entry point routing requests - tusOptionsHandler: Capability discovery (OPTIONS) - tusCreateHandler: Create new upload (POST) - tusHeadHandler: Get upload offset (HEAD) - tusPatchHandler: Upload data at offset (PATCH) - tusDeleteHandler: Cancel upload (DELETE) - tusWriteData: Upload data to volume servers Features: - Supports creation-with-upload extension - Validates TUS protocol headers - Offset conflict detection - Automatic upload completion when size is reached - Metadata parsing from Upload-Metadata header
Diffstat (limited to 'postgres-examples/test_client.py')
0 files changed, 0 insertions, 0 deletions