curl on 64bit always includes headers

Shaddy Baddah lithium-cygwin@shaddybaddah.name
Fri Aug 16 08:56:00 GMT 2013


Hi,

I think this is some sort of regression best demonstrated with
copy/paste:

$ uname -a
CYGWIN_NT-6.1-WOW64 AUD-CYGHOST 1.7.22(0.268/5/3) 2013-07-22 17:06 i686 
Cygwin

$ curl 'http://www.google.com/'
<HTML><HEAD><meta http-equiv="content-type" 
content="text/html;charset=utf-8"><TITLE>302 
Moved</TITLE></HEAD><BODY><H1>302 Moved</H1>The document has moved <A 
HREF="http://www.google.com.au/?gws_rd=cr">here</A>. </BODY></HTML>


Compared with:

$ uname -a
CYGWIN_NT-6.1 AUD-CYGHOST 1.7.24(0.269/5/3) 2013-08-15 11:59 x86_64 Cygwin

$ curl 'http://www.google.com/'
HTTP/1.1 302 Moved Temporarily
Content-Length: 226
Location: http://www.google.com.au/?gws_rd=cr
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Set-Cookie: 
PREF=ID=e0106a09639a312d:FF=0:TM=1376643265:LM=1376643265:S=zsZySjsnTdcRg3yL; 
expires=Sun, 16-Aug-2015 08:54:25 GMT; path=/; domain=.google.com
Set-Cookie: 
NID=67=REaoG7I9iVPjoxnMrgVSSk6wbQBcmffuagiPTm9lg2zVVbOfmcz7htEDoxX1eUUOAp7Uw-sjt_0j2xOT2b6OGYT6R7oa4Qlah1YavOorYSEeimCLLJV_lMnBCMSHxl3J; 
expires=Sat, 15-Feb-2014 08:54:25 GMT; path=/; domain=.google.com; HttpOnly
P3P: CP="This is not a P3P policy! See 
http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 
for more info."
Date: Fri, 16 Aug 2013 08:54:25 GMT
Server: gws
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Alternate-Protocol: 80:quic
Connection: keep-alive

<HTML><HEAD><meta http-equiv="content-type" 
content="text/html;charset=utf-8"><TITLE>302 
Moved</TITLE></HEAD><BODY><H1>302 Moved</H1>The document has moved <A 
HREF="http://www.google.com.au/?gws_rd=cr">here</A>. </BODY></HTML>


PS: the 32bit is not 1.7.24 yet. I haven't got around to it yet.

-- 
Regards,
Shaddy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list