diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2018-04-18 20:50:31 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2018-05-22 15:08:31 +0200 |
commit | 2587fcccee3b9ee2b934f681f9f3ff921edf096f (patch) | |
tree | 67927ded3979a151808489b0dcd8fa556aec1736 /editor/plugins/animation_player_editor_plugin.cpp | |
parent | b22f048700105dec26154cc90f10b0ef34b3f5ed (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/plugins/animation_player_editor_plugin.cpp')
0 files changed, 0 insertions, 0 deletions