[Cyberduck-trac] [Cyberduck] #6191: Swift: Setting "Access-Control-Allow-Origin" header

Cyberduck trac at trac.cyberduck.ch
Sun Sep 4 15:12:35 CEST 2011


#6191: Swift:  Setting "Access-Control-Allow-Origin" header
--------------------------+------------------------
 Reporter:  markdeverter  |         Owner:  dkocher
     Type:  defect        |        Status:  new
 Priority:  normal        |     Milestone:
Component:  cloudfiles    |       Version:  4.1
 Severity:  normal        |    Resolution:
 Keywords:                |  Architecture:
 Platform:                |
--------------------------+------------------------

Comment (by dkocher):

 Replying to [comment:3 markdeverter]:
 > My bad, I meant to provide curl commands that showed normal API
 behavior.
 >
 > {{{
 > # curl -v -H "X-Auth-Token: {token}" -X POST -H "Access-Control-Allow-
 Origin: https://domain.foo"
 https://storage101.ord1.clouddrive.com/v1/{account}/{container}/clown.jpg
 >
 > <snip>
 > <html>
 >  <head>
 >   <title>202 Accepted</title>
 >  </head>
 >  <body>
 >   <h1>202 Accepted</h1>
 >   The request is accepted for processing.<br /><br />
 > </body>
 >
 > # curl -v http://cXXXX.rXX.cf2.rackcdn.com/clown.jpg
 >
 > <snip>
 > < HTTP/1.1 200 OK
 > < Server: nginx/0.7.65
 > < Content-Type: image/jpeg
 > < Content-Length: 122184
 > < Accept-Ranges: bytes
 > < Last-Modified: Sun, 04 Sep 2011 12:58:47 GMT
 > < ETag: e7be17fec37f74c5e705543584ae6ddf
 > < x-trans-id: tx50ca189c97f34230ad598fab05efcfae
 > < access-control-allow-origin: https://domain.foo
 > < Cache-Control: public, max-age=86400
 > < Expires: Mon, 05 Sep 2011 13:03:31 GMT
 > < Date: Sun, 04 Sep 2011 13:03:31 GMT
 > }}}

 Thanks for the snipped. That is interesting as it is a undocumented
 feature from my knowledge. I will dig into this further.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/6191#comment:4>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list