Overview
| Artifact ID: | 050ccc8d7b6d25a8af729cb0c28f1f5669b76946 |
|---|---|
| Ticket: | 1589887fffffffffffffffffffffffffffffffff
Read headerless response (HTTP/0.9, 1.0 Simple-Response) |
| User & Date: | kaitzschu on 2006-11-03 12:38:28 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Currently when using http::geturl with a server that does not send required headers (but starts sending data right away) http::Event stays in state=header and after command returns there is effectively nothing received (unless by accident some line happens to look like HTTP-header). This behaviour rises from missing else clause in http::Event (last statement is elseif). Suggested behaviour is that if in state=header there is a nonempty line that does not match any of expressions so far that line is considered to be first line of data and treated as such. This implementation can't handle requests that use - handler option, as socket buffer can't be unread (at least not at script level). Also encodings have slight chance of misbehaviour, as line is read before socket has been fconfigured. That should be possible to fix (except -binary configuration, where carriage return can be lost due translation=auto). Progress callbacks are likely to be problematic, too, especially with callbacks relying on fixed chunk sizes. But most of these problems (excluding -handler) are to be expected as currently you wouldn't get anything at all to process.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kaitzschu"
- subsystem changed to: "29. http Package"
- title changed to:
Read headerless (very specific/broken) servers data
- type changed to: "RFE"