diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2020-01-21 15:34:47 -0300 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-21 19:34:47 +0100 |
commit | 2fad7f134fa8cf871cdf6ccdcedc6df0d62c2f64 (patch) | |
tree | 78c0b2ed1d8889e1cea4662909422317ce5ed7ca /changelog.md | |
parent | bdb7c82c6aaf60392285cfea43c65c5b9b919e27 (diff) | |
download | Nim-2fad7f134fa8cf871cdf6ccdcedc6df0d62c2f64.tar.gz |
httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add headers argument instead of hardcoded empty (#13207)
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 71a77b86f..7e08133a0 100644 --- a/changelog.md +++ b/changelog.md @@ -68,6 +68,9 @@ - `htmlgen.html` allows `lang` on the `<html>` tag and common valid attributes. - `macros.basename` and `basename=` got support for `PragmaExpr`, so that an expression like `MyEnum {.pure.}` is handled correctly. +- `httpclient.maxredirects` changed from `int` to `Natural`, because negative values serve no purpose whatsoever. +- `httpclient.newHttpClient` and `httpclient.newAsyncHttpClient` added `headers` argument to set initial HTTP Headers, + instead of a hardcoded empty `newHttpHeader()`. ## Language additions |