Skip to content

Commit 57a5581

Browse files
[HttpClient] Preserve the case of headers when sending them
1 parent 8e02469 commit 57a5581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HttpClientInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ interface HttpClientInterface
4040
// value if they are not defined - typically "application/json"
4141
'user_data' => null, // mixed - any extra data to attach to the request (scalar, callable, object...) that
4242
// MUST be available via $response->getInfo('user_data') - not used internally
43-
'max_redirects' => 20, // int - the maximum number of redirects to follow; a value lower or equal to 0 means
44-
// redirects should not be followed; "Authorization" and "Cookie" headers MUST
43+
'max_redirects' => 20, // int - the maximum number of redirects to follow; a value lower than or equal to 0
44+
// means redirects should not be followed; "Authorization" and "Cookie" headers MUST
4545
// NOT follow except for the initial host name
4646
'http_version' => null, // string - defaults to the best supported version, typically 1.1 or 2.0
4747
'base_uri' => null, // string - the URI to resolve relative URLs, following rules in RFC 3986, section 2

0 commit comments

Comments
 (0)