diff --git a/doc/go1.19.html b/doc/go1.19.html index 2674ad6972..b8d372224a 100644 --- a/doc/go1.19.html +++ b/doc/go1.19.html @@ -578,22 +578,46 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://go.dev/cl/269997: allow sending 1xx responses
+ ResponseWriter.WriteHeader
+ now supports sending user-defined 1xx informational headers.
- TODO: https://go.dev/cl/361397: net/http: add MaxBytesError; modified api/next/30715.txt - TODO: https://go.dev/issue/30715: add MaxBytesError + +
+ The io.ReadCloser
returned by
+ MaxBytesReader
+ will now return the defined error type
+ MaxBytesError
+ when its read limit is exceeded.
+
+ The HTTP client will handle a 3xx response without a
+ Location
header by returning it to the caller,
+ rather than treating it as an error.
- TODO: https://go.dev/cl/374654: add JoinPath, URL.JoinPath +
+ The new
+ JoinPath
+ function and
+ URL.JoinPath
+ method create a new URL
by joining a list of path
+ elements.
- TODO: https://go.dev/issue/46059: add OmitHost bool to URL
+ The URL
type now distinguishes between URLs with no
+ authority and URLs with an empty authority. For example,
+ http:///path
has an empty authority (host),
+ while http:/path
has none.
+
+ The new URL
field
+ OmitHost
is set to true
when a
+ URL
has an empty authority.