[ENH] For 3.2 (3.3a?): More tolerant HTTP redirect handling

Helge Horch squeak-dev at lists.squeakfoundation.org
Fri Sep 13 00:25:41 UTC 2002


--============_-1180245217==_============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Folks,

indeed, I've been scraping HTML off obscure corners off the net, but 
since it's so easy to fix... From the preamble:

[---snip---]
Quite contrary to *my* reading of RFC-2616 and RFC-2396, not only do 
some obscure web servers seem to accompany their 3xx response with a 
nonstandard 'Location: ../foo' header (which we handle just fine), 
but others seem to send a 'Location: /bar/baz' quasi-absolute style 
header (which we didn't handle, and which resulted in the redirection 
handler seeking a server named ''). Bad servers they may be, but we 
can easily cope.
[---snip---]

Cheers,
Helge
--============_-1180245217==_============
Content-Id: <a05111b01b9a6dfdedd22@[217.0.87.244].0.0>
Content-Type: multipart/appledouble; boundary="============_-1180245217==_D============"

--============_-1180245217==_D============
Content-Transfer-Encoding: base64
Content-Type: application/applefile; name="%BetterRedirect.1.cs.gz"
Content-Disposition: attachment; filename="%BetterRedirect.1.cs.gz"
 ; modification-date="Fri, 13 Sep 2002 02:11:06 +0200"

AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAADAAAAPgAAABYAAAAJAAAAVAAAACAA
AAAIAAAAdAAAABBCZXR0ZXJSZWRpcmVjdC4xLmNzLmd6U09CSkZBU1QAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAFFAW6BRQFukttDAAFFAs/
--============_-1180245217==_D============
Content-Type: application/octet-stream; name="BetterRedirect.1.cs.gz"
 ; x-mac-type="534F424A"
 ; x-mac-creator="46415354"
Content-Disposition: attachment; filename="BetterRedirect.1.cs.gz"
Content-Transfer-Encoding: base64

H4sIAAAAAAAAAH1SUW/TMBB+zkP+w3UgpZ3WtE1HpYanbagaCMFYi3iYCnKS62Ka2Jl9
ps20H88lDaxiEg+xY9933933nYOF0SUsHxyK7TSMQG9gMoEPrqghGo8juCsEoSVwVcY/
Mbw6n7+ZrUErmExhiRVhmaA5YAVBFI/n8eQcRBn0/JOrXKh7ZBjFnneJRGhuMZMGU/Lf
NXSe572g8S8c5do0sWssOP1amzT3/S9OEkKqFRlhaiANp2V9CgZFJtV90/jt4moYzSYz
ECo7HKbz2RkoTdwvC8o0WF0i6MSmziDsMAGL5hcayzuWDadIU11WQnGBHKWB6X7PJWyl
lcVnpp2kHASflSUuJkwGwUedCpJaxRCGo43WAeTcGovq73KZ5lwN2I6sQPjp2NCNVDg4
g8QxJZc6asEity+OCUeJMPw9BvDghJVDkVhdOHbDUs18L+pkMlMBdeXOWjsOMVbiCsIM
pGr08fkwDa7SoU3TxrYxVHTegBIlZwTBIIRLkf11jPNrKEUNCR5kcOFUKEDukC1KdYXh
Sc/3/d71anWz1OkWCdJCWAsl8oQzu+ApQ+BIFpIk2oDliLLiqzyH+Wg+ah/VOIqjiB8T
7nkq2VdTxKBwxztIhiY14YUxon5/A5U2FLfrJ1f63hNUBjdyD0++732Hfr9LS/BeKvuN
JxhDv4P8gICHFgwG0LR0938k49YD3/PkZmUcxvzn3S3JNJ5Z4udYXvEbRUWWmWK+KeEJ
GpB33Gymm2iScIyXirPpM0+6gYfQbixzTzeOJb0O12FL0F7bbSN8OHl7BIgP8U77P3TP
qV3CRcEm/rFDFMWlo4U0lp5VWvmIMITJYLBet0oXorCd1EPeugc8298Hg4rzPgQAAA==
--============_-1180245217==_D============--
--============_-1180245217==_============--



More information about the Squeak-dev mailing list