diff --git a/dev/changelog/index.html b/dev/changelog/index.html index bb2d9198..4b8ba17e 100644 --- a/dev/changelog/index.html +++ b/dev/changelog/index.html @@ -3,4 +3,4 @@ HTTP.request(...; response_stream = io) close(io)(#543, #752, #775).
HTTP.header
can now be of any type (not just AbstractString
). (#820)curl
). (#831)HTTP.request
related to this feature (pipeline_limit
and reuse_limit
) are now ignored (#783).EOFError
if the connection is closed with remaining bytes to be transferred (#778, #781).See changes for 0.9.15: this release is equivalent to 0.9.15 with #752 reverted. #752 might be included in a future breaking release instead, see #774.
Note: This release have been pulled back since #752 turned out to be breaking.
close
on streams given with the response_stream
keyword argument to HTTP.request
and friends. If it is required to close the stream after the request you now have to do it manually, e.g.io = ...
HTTP.request(...; response_stream = io)
-close(io)
(#543, #752).Content-Type
header for requests with HTTP.Form
bodies is now automatically set also for PUT
requests (just like POST
requests) (#770, #740).Content-Disposition
from original request in case of a 3xx response (#760, #761).Set-Cookie
headers (#765, #766).TopLayer
inserted at the top to simplify adding new layers at the top (#737).HTTP.sniff
for negative numeric values (#730).Debug
-level messages (instead of Error
-level) (#727).HTTP.listen
and HTTP.serve
(#713).Host
header for CONNECT
proxy requests (#714).HTTP.download
to (i) not include any query parameters and (ii) use the original request URL instead of any redirect URLs (#706).Sockets.getpeername(::HTTP.Stream)
for getting the client IP address and port from a HTTP.Stream
(#702).HTTP.statustext
for getting the string representation of a HTTP status code (#688).ReadTimeoutError
which is thrown for request that time out (#693).HTTP.status
, HTTP.headers
, HTTP.body
, HTTP.method
, and HTTP.uri
(#682).HTTP.listen
and HTTP.serve
(#701).Host
header for HTTP.request
(and friends) to include the port for non-standard ports (#680).verify_host
is now used for the default value for host verification (#678).HTTP_PROXY
and HTTPS_PROXY
environment variables if they are set to the empty string (#674).max_connections::Int
to HTTP.listen
for specifying maximum value of concurrent active connections (#647).Accept: */*
is now added by default for HTTP.request
and friends (this mirrors the behavior of e.g. curl
and Python's request
) (#666).Proxy-Authorization: Basic XXX
header (#640).HTTP_PROXY
/HTTPS_PROXY
are now checked, previously only the lowercase versions http_proxy
/https_proxy
where checked (#648).closewrite
which can improve latency in some cases (#635).HTTP.listen
that never calls startwrite
now throw and return 500 Internal Server Error
to the client (#636).closebody
does not error if closing bytes could not be written (#546).on_shutdown::Union{Function,Vector{Function}}
to HTTP.listen
/ HTTP.serve
for registering callback function to be run at server shutdown (#599).insert_default!
and remove_default!
for inserting/removing layers in the default stack (#608).boundary
to HTTP.Form
for specifying the boundary for multipart requests (#613, #615).HTTP.URIs
module have been factored out to an independent package which HTTP.jl
now depends on (#616).HTTP.download
(#601).server
keyword argument to HTTP.listen
/HTTP.serve
(#611).connect_timeout
to HTTP.request
and friends (#619).Settings
This document was generated with Documenter.jl version 0.27.25 on Monday 22 April 2024. Using Julia version 1.10.2.