summaryrefslogtreecommitdiff
path: root/editor/icons/icon_string.svg
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2018-04-18 20:50:31 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2018-05-22 15:08:31 +0200
commit2587fcccee3b9ee2b934f681f9f3ff921edf096f (patch)
tree67927ded3979a151808489b0dcd8fa556aec1736 /editor/icons/icon_string.svg
parentb22f048700105dec26154cc90f10b0ef34b3f5ed (diff)
Allow body-up-to-EOF HTTP responses
Implements the same heuristic as Curl (and web browsers): if no `Content-Length`, no `Connection: keep-alive` and no chunked transfer encoding, assume th rest of the data until EOF is the body, gracefully setting the HTTP client back to the disconnected state. Theoretically, this is not compliant with HTTP 1.1, by which `keep-alive` is the default, but in practice, an explicit header is sent by servers.
Diffstat (limited to 'editor/icons/icon_string.svg')
0 files changed, 0 insertions, 0 deletions