Nim/lib/pure
Joey 0d1c5f4137
A new request should always have a new content-length (#16667)
* A new request should always have a new content-length

In [my last PR](https://github.com/nim-lang/Nim/pull/16618) I made a mistake by assuming that the client.headers were cleared on every request, like the Python version. So, due to the fact that Nim keeps the client headers, we need to clear the Content-Length header on each request (which makes sense because you almost never want to use the same Content-Length twice, but you may want to reuse other headers)

* Move content-length to newHeaders instead of in the global client headers

* Use single backticks
2021-01-28 00:07:08 +00:00
..
collections intsets are here to stay (#16751) 2021-01-19 14:17:22 +01:00
concurrency Improve documentation for threadpool (#16821) 2021-01-27 19:05:31 +00:00
includes Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
ioselects styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
unidecode [docs minor]space for code-block (#16266) 2020-12-06 09:54:32 +01:00
algorithm.nim Algorithm improvements (#16529) 2021-01-02 20:28:59 +01:00
async.nim Unify async macro and futures for js and native targets 2018-01-05 16:40:51 +02:00
asyncdispatch.nim Fix broken links in docs (#16336) 2020-12-14 20:13:12 +01:00
asyncdispatch.nim.cfg
asyncfile.nim fix #15148 (#15149) 2020-08-08 07:24:54 +02:00
asyncftpclient.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
asyncfutures.nim better nativestacktrace support; refs #15284; backport [1.2] (#15384) 2020-09-22 13:03:24 +02:00
asynchttpserver.nim Transfer-Encoding:chunked tests (#16678) 2021-01-14 20:17:02 +01:00
asyncmacro.nim styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
asyncnet.nim Check for errors after sendPendingSslData (#16696) 2021-01-13 15:09:28 +01:00
asyncstreams.nim Fixes #16436 (#16695) 2021-01-14 08:53:21 +01:00
base64.nim Save some alloc on base64 using encodeSize (#16465) 2020-12-27 12:02:10 +01:00
bitops.nim adding missing commas in std/bitops (#16520) 2020-12-30 16:41:25 -08:00
browsers.nim enforce browsers.nim only handles URLs [backport] (#15045) 2020-07-23 11:03:39 +02:00
cgi.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
colors.nim colors: Reuse the HexDigits constant in strutils (#16065) 2020-11-20 10:55:14 +01:00
complex.nim Improve documentation for complex (#16588) 2021-01-05 17:50:15 +01:00
cookies.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
coro.nim fix #15628 (#16387) 2021-01-21 17:31:47 +01:00
coro.nimcfg
cstrutils.nim make cstrutils work in VM (#16590) 2021-01-05 17:52:26 +01:00
db_common.nim [backport] run nimpretty on the remaining files 2019-09-30 13:58:17 +02:00
distros.nim Installation Instruction (#15485) 2020-10-04 10:58:19 +02:00
dynlib.nim docs: dlimport -> dynlib (#15175) 2020-08-11 14:49:57 +02:00
encodings.nim encodings: use only one iconv definition [backport:1.2] (#14741) 2020-06-21 19:28:03 +02:00
endians.nim [backport] run nimpretty on os-related stuff 2019-09-30 13:58:15 +02:00
fenv.nim Link the <fenv.h> header (#16597) 2021-01-05 20:51:51 +01:00
future.nim renamed future.nim to sugar.nim 2018-04-06 11:59:49 +02:00
hashes.nim Improve documentation for the hashes module (#16720) 2021-01-15 22:42:01 +00:00
htmlgen.nim htmlgen: Add lazy loading (#15986) 2020-11-16 10:15:05 -08:00
htmlparser.nim [backport] run nimpretty on parsers 2019-09-30 13:58:08 +02:00
httpclient.nim A new request should always have a new content-length (#16667) 2021-01-28 00:07:08 +00:00
httpcore.nim Httpclient improvements (#15919) 2021-01-10 13:40:53 +00:00
json.nim added enum indexed array support to json (#16807) 2021-01-26 00:55:49 +01:00
lenientops.nim Use func in lenientops (#16641) 2021-01-09 00:24:41 +01:00
lexbase.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
logging.nim Fix broken links in docs (#16336) 2020-12-14 20:13:12 +01:00
marshal.nim Fix an RST issues introduced in #16777 (#16798) 2021-01-22 13:22:52 -08:00
math.nim perpare for more compact bit operations in JS (#16728) 2021-01-19 14:57:16 +01:00
md5.nim Improve documentation for the md5 module (#16631) 2021-01-07 20:57:11 +01:00
memfiles.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
mersenne.nim Improve documentation for the mersenne module (#16824) 2021-01-27 19:14:13 +00:00
mimetypes.nim fix #16703; revert most of #16480; add tests/stdlib/tmimetypes.nim (#16711) 2021-01-13 14:52:59 -08:00
nativesockets.nim styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
net.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
nimprof.nim addQuitProc => addExitProc (#16765) 2021-01-22 19:51:11 +01:00
nimprof.nim.cfg
nimtracker.nim
oids.nim make oids module better (#16704) 2021-01-25 07:39:25 +01:00
options.nim use runnableExamples in options (#16503) 2020-12-30 16:26:49 +01:00
os.nim remove private checkSymlink (redundant with symlinkExists) (#16785) 2021-01-22 20:03:33 +01:00
osproc.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
oswalkdir.nim fix #11458 oswalkdir (#13689) 2020-03-19 10:23:05 +01:00
parsecfg.nim use hexchar in stdlib (#16290) 2020-12-17 13:41:05 +01:00
parsecsv.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
parsejson.nim use hexchar in stdlib (#16290) 2020-12-17 13:41:05 +01:00
parseopt.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
parsesql.nim use hexchar in stdlib (#16290) 2020-12-17 13:41:05 +01:00
parseutils.nim fix parseChar see #16240 (#16245) 2020-12-06 10:14:55 +01:00
parsexml.nim Fix crash in parsexml (#15582) (#15583) 2020-10-15 12:45:55 +02:00
pathnorm.nim make var string return var char w/ BackwardsIndex (#15461) 2020-11-12 11:44:21 +01:00
pegs.nim use hexchar in stdlib (#16290) 2020-12-17 13:41:05 +01:00
punycode.nim styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
random.nim Fix broken links in docs (#16336) 2020-12-14 20:13:12 +01:00
rationals.nim rationals.nim: Use func everywhere (#16302) 2020-12-09 16:17:50 +01:00
reservedmem.nim Deprecate and/or remove ospaths (#14767) 2020-06-23 10:51:33 +02:00
ropes.nim improve the documentation of ropes (#16111) 2020-11-25 07:42:25 +01:00
segfaults.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
selectors.nim styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
smtp.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
smtp.nim.cfg revert moving oids and smtp to graveyard 2019-01-11 08:51:19 +01:00
ssl_certs.nim styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
ssl_config.nim net: use a secure cipher list by default 2020-06-06 21:11:53 +02:00
stats.nim Improve documentation for stats (#16742) 2021-01-19 08:40:09 +01:00
streams.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
streamwrapper.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
strformat.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
strmisc.nim Improve documentation of strmisc (#16665) 2021-01-11 10:53:15 +01:00
strscans.nim Added strscans.scanTuple (#16300) 2020-12-12 23:29:20 +01:00
strtabs.nim move tests to testament (#16101) 2020-11-24 19:06:41 +01:00
strutils.nim make cstrutils work in VM (#16590) 2021-01-05 17:52:26 +01:00
sugar.nim Sugar improvements (#16802) 2021-01-25 14:41:55 +01:00
terminal.nim addQuitProc => addExitProc (#16765) 2021-01-22 19:51:11 +01:00
times.nim Correct all eggs (#15906) 2020-11-10 21:53:25 +01:00
typetraits.nim typetraits: make genericHead docs reflect reality; use runnableExamples (#16776) [backport:1.4] 2021-01-22 15:06:45 +01:00
unicode.nim Fix broken links in docs (#16336) 2020-12-14 20:13:12 +01:00
unittest.nim Documentation only Testament unittest (#16532) 2021-01-01 19:44:06 +01:00
uri.nim Deprecate TaintedString (#15423) 2021-01-15 18:56:38 -08:00
volatile.nim Minor docs/format changes (cpuinfo, volatile) (#16602) 2021-01-06 20:29:22 +01:00
xmlparser.nim fix #14056 (#16071) 2020-11-23 19:53:57 +01:00
xmltree.nim correct errors in xmltree docs (#16104) 2020-11-23 10:36:05 +00:00