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

Huang Kuan Hao resolved HDDS-15738.
-----------------------------------
    Resolution: Duplicate

> Support S3 Bucket CORS in S3 Gateway (config + preflight)
> ---------------------------------------------------------
>
>                 Key: HDDS-15738
>                 URL: https://issues.apache.org/jira/browse/HDDS-15738
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Huang Kuan Hao
>            Assignee: Huang Kuan Hao
>            Priority: Major
>
> Ozone's S3 Gateway does not implement CORS. GetBucketCors does not return 
> NoSuchCORSConfiguration, PutBucketCors is not stored, and OPTIONS preflight 
> requests are not handled (return 200/InvalidRequest instead of proper CORS 
> responses). No Access-Control-* headers are emitted.
> To align with AWS S3: implement PutBucketCors / GetBucketCors / 
> DeleteBucketCors (store CORS config as bucket metadata), handle OPTIONS 
> preflight, and echo Access-Control-* response headers per matched rule.
> Failing tests: test_set_cors, test_cors_header_option, 
> test_cors_origin_response, test_cors_origin_wildcard, 
> test_cors_presigned_get_object[_v2/_tenant/_tenant_v2], 
> test_cors_presigned_put_object[_v2/_tenant/_tenant_v2/_with_acl/_tenant_with_acl]
> Ref: [https://ozone.s3.peterxcli.dev/]



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