[ 
https://issues.apache.org/jira/browse/HDDS-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gargi Jaiswal updated HDDS-15573:
---------------------------------
    Description: 
Need to support browser based POST upload for ozone.
Ozone S3 Gateway supports object tagging through *PUT Object* requests using 
the *{{x-amz-tagging}}* header. However, AWS S3 also allows tags to be 
specified as part of a {color:#00875a}POST Object upload request{color}.

This is particularly useful when the object tags exceed the HTTP header size 
limitations or when using browser-based form uploads. In AWS S3, POST Object 
requests can carry object tags in the multipart form data and the uploaded 
object is created with the specified tags.

To improve S3 compatibility, implement support for object tagging in POST 
Object requests and ensure that tags are persisted and retrievable through the 
existing object tagging APIs.

S3 Documentation to refer : 
[https://docs.aws.amazon.com/AmazonS3/latest/developerguide/RESTObjectPOST.html]
[https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html]

Discussion link: 
[https://github.com/apache/ozone/pull/10498#issuecomment-4715054358]

  was:
Currently, Ozone S3 Gateway supports object tagging through *PUT Object* 
requests using the *{{x-amz-tagging}}* header. However, AWS S3 also allows tags 
to be specified as part of a {color:#00875a}POST Object upload request{color}.

This is particularly useful when the object tags exceed the HTTP header size 
limitations or when using browser-based form uploads. In AWS S3, POST Object 
requests can carry object tags in the multipart form data and the uploaded 
object is created with the specified tags.

To improve S3 compatibility, implement support for object tagging in POST 
Object requests and ensure that tags are persisted and retrievable through the 
existing object tagging APIs.

S3 Documentation to refer : 
[https://docs.aws.amazon.com/AmazonS3/latest/developerguide/RESTObjectPOST.html]
[https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html]

Discussion link: 
https://github.com/apache/ozone/pull/10498#issuecomment-4715054358


> Add support for browser based POST Uploads
> ------------------------------------------
>
>                 Key: HDDS-15573
>                 URL: https://issues.apache.org/jira/browse/HDDS-15573
>             Project: Apache Ozone
>          Issue Type: Sub-task
>    Affects Versions: 2.2.0
>            Reporter: Gargi Jaiswal
>            Assignee: Gargi Jaiswal
>            Priority: Major
>
> Need to support browser based POST upload for ozone.
> Ozone S3 Gateway supports object tagging through *PUT Object* requests using 
> the *{{x-amz-tagging}}* header. However, AWS S3 also allows tags to be 
> specified as part of a {color:#00875a}POST Object upload request{color}.
> This is particularly useful when the object tags exceed the HTTP header size 
> limitations or when using browser-based form uploads. In AWS S3, POST Object 
> requests can carry object tags in the multipart form data and the uploaded 
> object is created with the specified tags.
> To improve S3 compatibility, implement support for object tagging in POST 
> Object requests and ensure that tags are persisted and retrievable through 
> the existing object tagging APIs.
> S3 Documentation to refer : 
> [https://docs.aws.amazon.com/AmazonS3/latest/developerguide/RESTObjectPOST.html]
> [https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html]
> Discussion link: 
> [https://github.com/apache/ozone/pull/10498#issuecomment-4715054358]



--
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