Minor Changes
- Add
SuperHeaders#apply(init)to applySuperHeadersInitvalues to an existing instance with header-aware behavior, replacing singleton headers while preserving additive headers likeCookie,Set-Cookie, andVary(see #11398).
Patch Changes
-
Add explicit public API return types to header value serialization methods so generated declarations no longer depend on inferred method signatures (see #11433).
-
Fix
CookieandSuperHeaders.cookieso duplicate cookie names from path- or domain-specific cookies are preserved in order.Cookie#get(name)now returns the first matching value,Cookie#getAll(name)can be used to read every matching value, andCookie#append(name, value)can be used to add another cookie with the same name (see #11423).