summary refs log tree commit diff stats
path: root/tools/ssl_config_parser.nim
diff options
context:
space:
mode:
authorJoey <jyapayne@gmail.com>2021-01-08 11:48:23 -0700
committerGitHub <noreply@github.com>2021-01-08 18:48:23 +0000
commitbfcb7c1621ba4cadb228125e924f1fe6bf91e20c (patch)
tree6221b2d373f94bd56a00354c689c8c324aecb02e /tools/ssl_config_parser.nim
parent38b8d080f29021d2685e09d552c2a7753ef25484 (diff)
downloadNim-bfcb7c1621ba4cadb228125e924f1fe6bf91e20c.tar.gz
DELETE requests should always have a content-length header (#16618)
* DELETE requests should always have a content-length header

Not having DELETE in this list is causing hanging when trying to close webdriver sessions in [halonium](https://github.com/halonium/halonium/issues/10) and likely any other implementation of the webdriver protocol. Both at least chromedriver and geckodriver are affected by this issue.

* Change the content length calculation to match the http spec

For reference:
https://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Entity-Body
Diffstat (limited to 'tools/ssl_config_parser.nim')
0 files changed, 0 insertions, 0 deletions