Re: [ceph-users] rgw gives MethodNotAllowed for OPTIONS?

2018-02-14 Thread Yehuda Sadeh-Weinraub
The CORS related operations are working on specific buckets, not on the service root. You'll need to set CORS on a bucket, and specify it in the path. Yehuda On Mon, Feb 12, 2018 at 5:17 PM, Piers Haken wrote: > I’m trying to do direct-from-browser upload to rgw using

Re: [ceph-users] rgw gives MethodNotAllowed for OPTIONS?

2018-02-12 Thread Piers Haken
On Behalf Of Piers Haken Sent: Monday, February 12, 2018 5:17 PM To: ceph-users@lists.ceph.com Subject: [ceph-users] rgw gives MethodNotAllowed for OPTIONS? I'm trying to do direct-from-browser upload to rgw using pre-signed urls, and I'm getting stuck because the browser is doing a pre-flight O

[ceph-users] rgw gives MethodNotAllowed for OPTIONS?

2018-02-12 Thread Piers Haken
I'm trying to do direct-from-browser upload to rgw using pre-signed urls, and I'm getting stuck because the browser is doing a pre-flight OPTIONS request and rgw is giving me a MethodNotAllowed response. Is this supported? OPTIONS http://storage-test01:7480/ HTTP/1.1 Host: storage-test01:7480