httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add headers argument instead of hardcoded empty (#13207)
This commit is contained in:
parent
bdb7c82c6a
commit
2fad7f134f
2 changed files with 12 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue