Files
Nim/lib
Joey bfcb7c1621 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
2021-01-08 18:48:23 +00:00
..
2017-02-20 17:24:19 +02:00
2019-07-14 16:08:15 +02:00
2020-11-24 12:37:41 +01:00
2020-09-09 12:47:22 +02:00
2013-03-16 23:53:07 +01:00
2020-12-23 10:23:45 +08:00
2021-01-04 10:24:52 +01:00