Skip to content
Tcl Source Code Artifact [050ccc8d7b]
Login

Artifact [050ccc8d7b]

Artifact 050ccc8d7b6d25a8af729cb0c28f1f5669b76946:

Ticket change [050ccc8d7b] - New ticket [1589887fffffffff|1589887fff] <i>Read headerless (very specific/broken) servers data</i>. by kaitzschu on 2006-11-03 12:38:28.
D 2006-11-03T12:38:28
J assignee hobbs
J cmimetype text/plain
J comment Currently\swhen\susing\shttp::geturl\swith\sa\sserver\sthat\s\ndoes\snot\ssend\srequired\sheaders\s(but\sstarts\ssending\s\ndata\sright\saway)\shttp::Event\sstays\sin\sstate=header\sand\s\nafter\scommand\sreturns\sthere\sis\seffectively\snothing\s\nreceived\s(unless\sby\saccident\ssome\sline\shappens\sto\slook\s\nlike\sHTTP-header).\n\nThis\sbehaviour\srises\sfrom\smissing\selse\sclause\sin\s\nhttp::Event\s(last\sstatement\sis\selseif).\n\nSuggested\sbehaviour\sis\sthat\sif\sin\sstate=header\sthere\s\nis\sa\snonempty\sline\sthat\sdoes\snot\smatch\sany\sof\s\nexpressions\sso\sfar\sthat\sline\sis\sconsidered\sto\sbe\sfirst\s\nline\sof\sdata\sand\streated\sas\ssuch.\n\nThis\simplementation\scan't\shandle\srequests\sthat\suse\s-\nhandler\soption,\sas\ssocket\sbuffer\scan't\sbe\sunread\s(at\s\nleast\snot\sat\sscript\slevel).\sAlso\sencodings\shave\sslight\s\nchance\sof\smisbehaviour,\sas\sline\sis\sread\sbefore\ssocket\s\nhas\sbeen\sfconfigured.\sThat\sshould\sbe\spossible\sto\sfix\s\n(except\s-binary\sconfiguration,\swhere\scarriage\sreturn\s\ncan\sbe\slost\sdue\stranslation=auto).\sProgress\scallbacks\s\nare\slikely\sto\sbe\sproblematic,\stoo,\sespecially\swith\s\ncallbacks\srelying\son\sfixed\schunk\ssizes.\n\nBut\smost\sof\sthese\sproblems\s(excluding\s-handler)\sare\sto\s\nbe\sexpected\sas\scurrently\syou\swouldn't\sget\sanything\sat\s\nall\sto\sprocess.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter kaitzschu
J subsystem 29.\shttp\sPackage
J title Read\sheaderless\s(very\sspecific/broken)\sservers\sdata
J type RFE
K 1589887fffffffffffffffffffffffffffffffff
U kaitzschu
Z fe9a0f2f4b5134e392165c5b81e01071