Chris Lu
4b040e8a87
adding cors support ( #6987 )
* adding cors support
* address some comments
* optimize matchesWildcard
* address comments
* fix for tests
* address comments
* address comments
* address comments
* path building
* refactor
* Update weed/s3api/s3api_bucket_config.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* address comment
Service-level responses need both Access-Control-Allow-Methods and Access-Control-Allow-Headers. After setting Access-Control-Allow-Origin and Access-Control-Expose-Headers, also set Access-Control-Allow-Methods: * and Access-Control-Allow-Headers: * so service endpoints satisfy CORS preflight requirements.
* Update weed/s3api/s3api_bucket_config.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix
* refactor
* Update weed/s3api/s3api_bucket_config.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_server.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* simplify
* add cors tests
* fix tests
* fix tests
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 months ago
chrislu
b7294b3905
address comment
Service-level responses need both Access-Control-Allow-Methods and Access-Control-Allow-Headers. After setting Access-Control-Allow-Origin and Access-Control-Expose-Headers, also set Access-Control-Allow-Methods: * and Access-Control-Allow-Headers: * so service endpoints satisfy CORS preflight requirements.
3 months ago
chrislu
902a5f689b
address comments
3 months ago
chrislu
5ba551c1d8
adding cors support
3 months ago
chrislu
50e22864cf
refactor
1 year ago
Kamran Sarwar
63c707f9c1
added access-control-expose-headers to put request ( #5876 )
1 year ago
LHHDZ
e9584d9661
add ownership rest apis ( #3765 )
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
Konstantin Lebedev
10678cde81
audit log config
4 years ago
Konstantin Lebedev
4ec8715f20
audit log
4 years ago
Chris Lu
9cf756b188
S3: support CORS
related to https://github.com/chrislusf/seaweedfs/issues/1271
4 years ago
Chris Lu
f17fa400d5
refactoring
4 years ago
Chris Lu
006b4ec0f8
refactoring
4 years ago
Chris Lu
b71c3cfba4
avoid possible empty object
4 years ago
Chris Lu
310e31424e
adjust the error output
fix https://github.com/chrislusf/seaweedfs/issues/2123
4 years ago
Chris Lu
8b382a8209
refactor
4 years ago