Chung-En Lee created HDDS-16004:
-----------------------------------

             Summary: GetObjectTorrent returns raw object body instead of 501 
Not Implemented
                 Key: HDDS-16004
                 URL: https://issues.apache.org/jira/browse/HDDS-16004
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Chung-En Lee


Ozone S3G currently does not support BitTorrent (GetObjectTorrent). However, 
instead of returning an error (501 Not Implemented or 400 Bad Request), S3G 
handles GetObjectTorrent like a standard GetObject request, returning 200 OK 
with the raw object payload.

This causes s3-tests (test_get_object_torrent) to fail with an AssertionError:

`assert data != _get_body(response)`
The test expects either a valid .torrent file structure (which differs from raw 
data) or a client error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to