<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>I've found an 
interesting binpac parse error when parsing http headers from <A 
href="http://www.golfsmith.com">www.golfsmith.com</A> using 
http-protocol.pac.&nbsp; </SPAN></FONT><FONT face=Arial size=2><SPAN 
class=766415519-08022008>The problem is that the golfsmith server is replying 
with a header that http-protocol.pac is interpreting as 
corrupt.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>Here's an example of 
the golfsmith.com headers</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>HTTP/1.1 200 
OK</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>Date: Fri, 01 Feb 
2008 17:10:30 GMT</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>Server: Apache/2.2.6 
(Unix) mod_ssl/2.2.6 <BR>&nbsp;DAV/2 PHP/5.2.5</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>X-Powered-By: 
PHP/5.2.5</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>Content-Type: 
text/html</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>Note the line DAV/2 
that is started with a space.&nbsp; That's where the parsing error occurs.&nbsp; 
</SPAN></FONT><FONT face=Arial size=2><SPAN class=766415519-08022008>However, it 
seems like this may actually be legal according to the standards.&nbsp; 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>RFC2616 section 2.2 
indicates that </SPAN></FONT></DIV>
<DIV><FONT><SPAN class=766415519-08022008><FONT face=Arial size=2>"</FONT><FONT 
face=Arial size=2>HTTP/1.1 header field values can be folded onto multiple lines 
if the continuation line begins with a space or horizontal tab. All 
linear&nbsp;white space, including folding, has the same semantics as SP. A 
recipient MAY replace any linear white space with a single SP 
before&nbsp;interpreting the field value or forwarding the message 
downstream."</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>According to this 
section, the <A href="http://www.golfsmith.com">www.golfsmith.com</A> header 
"Server:" is broken across the two lines, and it's value is actually 
"Apache/2.2.6 (Unix) mod_ssl/2.2.6&lt;LF&gt;&lt;SP&gt;DAV/2 
PHP/5.2.5"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>Does anyone have 
ideas on how http-protocol.pac should be modified to handle this 
situation?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=766415519-08022008>&nbsp; Kelvin 
Edmison</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=766415519-08022008></SPAN></FONT>&nbsp;</DIV></BODY></HTML>