Re: CORS not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fantastic! Thank you for the quick response. I'm available if you  need any testing.

Nelson Jeppesen
   Disney Technology Solutions and Services
   Phone 206-588-5001

-----Original Message-----
From: Yehuda Sadeh [mailto:yehuda@xxxxxxxxxxx] 
Sent: Wednesday, August 21, 2013 2:22 PM
To: Jeppesen, Nelson
Cc: ceph-users@xxxxxxxxxxxxxx
Subject: Re:  CORS not working

On Wed, Aug 21, 2013 at 1:19 PM, Jeppesen, Nelson <Nelson.Jeppesen@xxxxxxxxxx> wrote:
> Hello,
>
> I'm having issues with setting cors on dumpling. I seems like it's not doing anything.
>
> I have the following CORS rule on test1 bucket:
>
>         <CORSConfiguration>
>         <CORSRule>
>                 <AllowedMethod>GET</AllowedMethod><AllowedMethod>POST</AllowedMethod>
>                 <AllowedOrigin>http://a.a.a</AllowedOrigin>
>                 <AllowedHeader>*</AllowedHeader>
>         </CORSRule>
>         </CORSConfiguration>
>
>
> When test with the following I'm missing the Access-Control-Allow-Origin on the response:
>        Curl  -H "Origin: http://a.a.a"; https://s3/test1 -vv
>
>        < HTTP/1.1 200 OK
>        < Date: Wed, 21 Aug 2013 20:13:31 GMT
>        < Server: Apache/2.2.22 (Ubuntu)
>        < Transfer-Encoding: chunked
>        < Content-Type: application/xml
>
>
>
> When I try a pre-flight check I get a 403.
>
> curl -vv -X OPTIONS -H 'Access-Control-Request-Method: GET' -H 
> "Origin: http://a.a.a"; https://s3/test1/a
>
> < HTTP/1.1 403 Forbidden
> < Date: Wed, 21 Aug 2013 20:16:12 GMT
> < Server: Apache/2.2.22 (Ubuntu)
> < Accept-Ranges: bytes
> < Content-Length: 78
> < Content-Type: application/xml
>
>

Ok, just verified the bug. Opened issue #6078.

Thanks,
Yehuda
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux