Changed
- Changed
Utils::modifyRequest()to reject conflicting URI andHostheader changes in the same call - Changed
Header::parse()to split semicolon-separated parameters without repeated regular expression lookaheads - Changed
UriComparator::isCrossOrigin()so only HTTP and HTTPS missing ports receive implicit default ports
Deprecated
- Deprecated invalid PSR-7 arguments that guzzlehttp/psr7 3.0 will require native types for
- Deprecated non-string header values that guzzlehttp/psr7 3.0 will reject
- Deprecated empty header value arrays that guzzlehttp/psr7 3.0 will reject
- Deprecated URI schemes that do not match guzzlehttp/psr7 3.0 syntax requirements
- Deprecated multipart boundary and custom part header metadata that guzzlehttp/psr7 3.0 will reject
- Deprecated reliance on automatic uppercasing of request methods; guzzlehttp/psr7 3.0 preserves method casing
- Deprecated invalid
Utils::modifyRequest()change values that guzzlehttp/psr7 3.0 will reject
Fixed
- Fixed
Utils::copyToStream()to retry short destination writes instead of dropping the unwritten remainder - Fixed
Header::parse()splitting of semicolon-separated parameters with escaped quotes