This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: curl on 64bit always includes headers


On Aug 16 18:39, Shaddy Baddah wrote:
> 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>

I can't reproduce this:

  $ uname -a
  CYGWIN_NT-6.2 VMBERT864 1.7.24(0.269/5/3) 2013-08-15 11:59 x86_64 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.de/?gws_rd=cr";>here</A>.
  </BODY></HTML>
  $

Any chance you have a .curlrc file with an "include" line?

Corinna


-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpLtkl5c_Nd_.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]