<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">As far as I know,  Apache will make it lower-case.  I use keystone with Apache frontend (mo-wsgi) and all the headers are in lowercase. I was wondering how
 David is getting correct case.  BTW my environment is Ubuntu Precise  running apache2.2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Haneef<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Openstack [mailto:openstack-bounces+haneef.ali=hp.com@lists.launchpad.net]
<b>On Behalf Of </b>Ali, Saqib<br>
<b>Sent:</b> Friday, June 28, 2013 1:53 PM<br>
<b>To:</b> David Hadas<br>
<b>Cc:</b> Chmouel Boudjnah; Openstack; openstack@lists.launchpad.net<br>
<b>Subject:</b> Re: [Openstack] HTTP headers are incorrectly treated case sensitive by jClouds causing OpenStack x-storage-url to fail<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello David,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for the response. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I believe we are using the apache web frontend for the enabling SSL on the end-points. I have asked our OpenStack folks to share the setup and reasoning behind use of the Apache web frontend. They will respond here shortly.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am not sure why our instance of Apache web frontend is returning lower case <span style="font-size:10.0pt;font-family:"Arial","sans-serif"">X-Storage-Url. When we connect directly to the proxy, the X-Storage-Url are correct case. But
 the Apache frontend somehow makes it all lower case.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Would it possible for you to share the relevant Apache config and other setup details for the setup that you have?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Thanks.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Jun 28, 2013 at 9:38 AM, David Hadas <<a href="mailto:DAVIDH@il.ibm.com" target="_blank">DAVIDH@il.ibm.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Ali hi,<br>
<br>
On my system I get the headers as  X-Storage-Url when running under Apache2<br>
front end (not lowercase).<br>
<br>
Btw, I am always interested to learn how people are using Swift with the<br>
Apache front end as this is a fairly recent addition (we are working not to<br>
get it into devstack), can you describe shortly your setup and the reason<br>
behind choosing Apache front end?<br>
<br>
DH<br>
<br>
<br>
Regards,<br>
David Hadas,<br>
Openstack Swift ATC, Architect, Master Inventor<br>
IBM Research Labs, Haifa<br>
Tel:    Int<a href="tel:%2B972-4-829-6104">+972-4-829-6104</a><br>
Fax:   Int<a href="tel:%2B972-4-829-6112">+972-4-829-6112</a><br>
<br>
<br>
<br>
<br>
From:   "Ali, Saqib" <<a href="mailto:docbook.xml@gmail.com">docbook.xml@gmail.com</a>><br>
To:     Chmouel Boudjnah <<a href="mailto:chmouel@enovance.com">chmouel@enovance.com</a>>,<br>
Cc:     <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Date:   28/06/2013 04:30 PM<br>
Subject:        Re: [Openstack] HTTP headers are incorrectly treated case<br>
            sensitive by jClouds causing OpenStack x-storage-url to fail<br>
Sent by:        "Openstack" <openstack-bounces<br>
            +davidh=<a href="mailto:il.ibm.com@lists.launchpad.net">il.ibm.com@lists.launchpad.net</a>><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
Chmouel,<br>
<br>
Not really a hack on the swift, just the apache web frontend[1]<br>
<br>
1. <a href="http://docs.openstack.org/developer/swift/apache_deployment_guide.html" target="_blank">http://docs.openstack.org/developer/swift/apache_deployment_guide.html</a><br>
<br>
<br>
On Fri, Jun 28, 2013 at 6:26 AM, Chmouel Boudjnah <<a href="mailto:chmouel@enovance.com">chmouel@enovance.com</a>><br>
wrote:<br>
  On Fri, Jun 28, 2013 at 2:00 AM, Ali, Saqib <<a href="mailto:docbook.xml@gmail.com">docbook.xml@gmail.com</a>><br>
  wrote:<br>
  > Is there anything we can do to work around this, while someone from the<br>
  > jClouds community fixes this issue?<br>
<br>
<br>
  I would be believe a jclouds fix would be faster to get in than to try<br>
  agree on a hack to do on swift.<br>
<br>
  Chmouel.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>