Hi Mehmet,

That doesn’t seem like a CORS issue but more of an actual authentication issue. 
 What method of authentication are you using?




Thanks

Mohammed

On Fri, Mar 20, 2015 at 4:52 AM, mehmet hacısalihoğlu
<esedmeh...@gmail.com> wrote:

> Hi All,
> I configurated CORS in Openstack swift Juno. But when I try curl command, I
> get error message. Do I need to make another configuration?
> I attached proxy-server.conf
> *curl -i http://10.1.34.100/v1/AUTH_test/dene
> <http://10.1.34.100/v1/AUTH_test/dene> -X OPTIONS -H "X-Auth-Token:
> AUTH_tke941c77b0bab4ccc8b8fd4ec96d159b7" -H "Origin: http://localhost
> <http://localhost>" -H "Access-Control-Request-Method: GET" *
> HTTP/1.1 401 Unauthorized
> Content-Length: 131
> Content-Type: text/html; charset=UTF-8
> Allow: HEAD, GET, PUT, POST, OPTIONS, DELETE
> X-Trans-Id: txcba55257a519445f91063-00550bd1db
> Date: Fri, 20 Mar 2015 07:52:59 GMT
> <html><h1>Unauthorized</h1><p>This server could not verify that you are
> authorized to access the document you requested.</p></html>
> Thanks.
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to