delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/16/06:46:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=EttkT4g2wp75SiiGZoIGoNA5WGl4qAKQXQGEZOsTukLc+6SORDVbr
tQq0U1MLrnonatY4J7TjsVnU0Ll8L7+CsCvQqmmtPd7gH/3Tu6JuqeBH0BrKTkOU
RwyQoGCH0LABAO1XXirf6hJayBvIiupwKg+PhT+fg/Rtheo6dh3bNc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=FDMTRcM9gYHUGGdVk+Fc8qtQemw=; b=qUHVB1MJQSqySF2ophtkVKuCp4eP
IPAX24BGuoF4ZJzm2wWLSVS3sExDrlsefPZmhiT9s85UT3EVXQGvkAkZWNp+WDzJ
c8kXLsmuSFUfAVbDGFG597Hvoy5TWntBDFjphS67pxNl+xlorK+KQtKm6wvhEQau
v3gsn2gsRen7pqo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED autolearn=ham version=3.3.2
Date: Fri, 16 Aug 2013 12:46:24 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: curl on 64bit always includes headers
Message-ID: <20130816104624.GF2562@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <520DE533 DOT 5070507 AT shaddybaddah DOT name>
MIME-Version: 1.0
In-Reply-To: <520DE533.5070507@shaddybaddah.name>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Virus-Found: No

--X3gaHHMYHkYqP6yf
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug 16 18:39, Shaddy Baddah wrote:
> Hi,
>=20
> I think this is some sort of regression best demonstrated with
> copy/paste:
>=20
> $ uname -a
> CYGWIN_NT-6.1-WOW64 AUD-CYGHOST 1.7.22(0.268/5/3) 2013-07-22 17:06
> i686 Cygwin
>=20
> $ curl 'http://www.google.com/'
> <HTML><HEAD><meta http-equiv=3D"content-type"
> content=3D"text/html;charset=3Dutf-8"><TITLE>302
> Moved</TITLE></HEAD><BODY><H1>302 Moved</H1>The document has moved
> <A HREF=3D"http://www.google.com.au/?gws_rd=3Dcr">here</A>.
> </BODY></HTML>
>=20
>=20
> Compared with:
>=20
> $ uname -a
> CYGWIN_NT-6.1 AUD-CYGHOST 1.7.24(0.269/5/3) 2013-08-15 11:59 x86_64 Cygwin
>=20
> $ curl 'http://www.google.com/'
> HTTP/1.1 302 Moved Temporarily
> Content-Length: 226
> Location: http://www.google.com.au/?gws_rd=3Dcr
> Cache-Control: private
> Content-Type: text/html; charset=3DUTF-8
> Set-Cookie: PREF=3DID=3De0106a09639a312d:FF=3D0:TM=3D1376643265:LM=3D1376=
643265:S=3DzsZySjsnTdcRg3yL;
> expires=3DSun, 16-Aug-2015 08:54:25 GMT; path=3D/; domain=3D.google.com
> Set-Cookie: NID=3D67=3DREaoG7I9iVPjoxnMrgVSSk6wbQBcmffuagiPTm9lg2zVVbOfmc=
z7htEDoxX1eUUOAp7Uw-sjt_0j2xOT2b6OGYT6R7oa4Qlah1YavOorYSEeimCLLJV_lMnBCMSHx=
l3J;
> expires=3DSat, 15-Feb-2014 08:54:25 GMT; path=3D/; domain=3D.google.com;
> HttpOnly
> P3P: CP=3D"This is not a P3P policy! See http://www.google.com/support/ac=
counts/bin/answer.py?hl=3Den&answer=3D151657
> for more info."
> Date: Fri, 16 Aug 2013 08:54:25 GMT
> Server: gws
> X-XSS-Protection: 1; mode=3Dblock
> X-Frame-Options: SAMEORIGIN
> Alternate-Protocol: 80:quic
> Connection: keep-alive
>=20
> <HTML><HEAD><meta http-equiv=3D"content-type"
> content=3D"text/html;charset=3Dutf-8"><TITLE>302
> Moved</TITLE></HEAD><BODY><H1>302 Moved</H1>The document has moved
> <A HREF=3D"http://www.google.com.au/?gws_rd=3Dcr">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=3D"content-type" content=3D"text/html;charse=
t=3Dutf-8">
  <TITLE>302 Moved</TITLE></HEAD><BODY>
  <H1>302 Moved</H1>
  The document has moved
  <A HREF=3D"http://www.google.de/?gws_rd=3Dcr">here</A>.
  </BODY></HTML>
  $

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

Corinna


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

--X3gaHHMYHkYqP6yf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBAgAGBQJSDgMAAAoJEPU2Bp2uRE+gqFgP/13Px/x2U2HDAjA7rjrWywIV
9bnxjaCXHglGRXb/zpYMNOzFGR2KOZ/QR72A+okLj4pNqGdX+tWEYljznq1rxnH/
eLNq2fLFHLSyvE+oelC0jGwwvjfqLeGOaekGfBAGwpZZZJiIgc6bBuqRy17NgR0i
/C+QTVBKUEYGLE6PiCRiA/YoxtAfS4sF4zDiu0gL7czPjWI6KIXnzf3C8p78HOHO
dloj2yYPOR2jDS3w/7kMcra4WSLgmCbdiNpRX9tzp1T2IDEwuy814pgwN1mK4is1
bW9eZtslqtKPqmd166kN2L84RrLHstFwuiz2n6t9WHQoIqKqJbfXQuY8R0ZcW+P2
SU9B4jG09bLPCO7rXcSHLNdR+3+Sk8gsx/xwGDV15AUhXBjEWlczN2pS0Xfz49uQ
ZOqAhki9O0in0aNbs9xMiwhXyKnzIlHakQ5NvrliahgL47fFDSO1D9J1JQXv136A
rw5v+o6N/ePzGvfXGoE6UFT1EvMY6KaGKibfV5Sm5bDGpD10GgpZlo6KQUZaC/4q
vyM/WPCH4i8ameydTyKVZA1lYcTyFLJDbsVqOuh9igVJBm4K/9ZjPbFZ4Rz+EVVt
inZs4TBVi0wYkyzHJZsXG+DYjTI7UnFhSxVDtVltrYmDc7bKpOC/CJqHr7+Mh4fU
bXZmFs7XgrVQ05idBzzS
=osRd
-----END PGP SIGNATURE-----

--X3gaHHMYHkYqP6yf--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019