openstack team mailing list archive
Mailing list archive
Re: HTTP headers are incorrectly treated case sensitive by jClouds causing OpenStack x-storage-url to fail
On Thu, 2013-06-27 at 17:00 -0700, Ali, Saqib wrote:
> We are using the jclouds library for connection to OpenStack Swift
> (grizzly) cloud storage, and are running into the following
> issue: https://issues.apache.org/jira/browse/JCLOUDS-155
> We are using Apache web front for the swift proxy as defined
> Essentially the issue is that the Apache web front (using mod-wsgi)
> returns a lower case header (x-storage-url), whereas jClouds is
> expecting it to be X-Storage-URL (case-sensitive).
> So the jClouds is being case-sensitive. When it shouldn't be.
> Is there anything we can do to work around this, while someone from
> the jClouds community fixes this issue?
> This is a rather urgent issue. Any help will be highly appreciated.
I have a middleware i use in testing which simply renames headers to do
ProxyPass-ing env variables through apache. You'll need to modify it
somewhat to get what you are looking for, but as a stop-gap you can use
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp