delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/16/04:56:31

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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=Ixl
J57FO7SjiFnNNt9nboAN1OtQCP04MTtuJM3gyu0IHWKheM12TCU1cm4XuyW66hiQ
x3JmonM21WNmKCPKRF+FBblGcG6brEVCN4wVz7PkhcSbuZ8VqkhMhEotFeuTO/7b
5Z3JlGrH2PnCY7Cp1jZX2CyL7nSB/upzQwbjyneI=
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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=5FdXj6sY7
rf/7BhhEv+e0ZE2LbE=; b=sB4lNRBhKpx0YLP7CX8u99wvEVbK3jiqm8CqHzYpI
uAO92FLNiWr4fkJtQIrYgYp1UmZOssrDxQuEV3KorwBvfENY9Q05hZGIujOs18BF
QYZchfvr30gCgXHctVX/OO2yu33h3mXbnbH4bKmgEsY+3dpQHzRsxDm0dQStOkbL
cw=
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=-0.6 required=5.0 tests=AWL,BAYES_40,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RCVD_VIA_APNIC autolearn=ham version=3.3.2
Message-ID: <520DE533.5070507@shaddybaddah.name>
Date: Fri, 16 Aug 2013 18:39:15 +1000
From: Shaddy Baddah <lithium-cygwin AT shaddybaddah DOT name>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130704 Icedove/17.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: curl on 64bit always includes headers
X-Optus-CM-Score: 0
X-Optus-CM-Analysis: v=2.1 cv=YYGEuWhf c=1 sm=1 tr=0 a=RkPObcNqpdaXDoCDBSw5Xw==:117 a=RkPObcNqpdaXDoCDBSw5Xw==:17 a=PO7r1zJSAAAA:8 a=fUdQyOyA9-cA:10 a=CCR16KVuARgA:10 a=8nJEP1OIZ-IA:10 a=hyiBqAXcuNcA:10 a=1XWaLZrsAAAA:8 a=hf7IuuiaAAAA:8 a=-EsegducfFTCHyN35OcA:9 a=PyVHxmIGHB98RsdF:21 a=wPNLvfGTeEIA:10

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

- Raw text -


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