10000 minor #20045 [HttpClient] Document usage or user:pass@example.com for… · symfony/symfony-docs@59e6831 · GitHub
[go: up one dir, main page]

Skip to content

Commit 59e6831

Browse files
committed
minor #20045 [HttpClient] Document usage or user:pass@example.com for Basic Auth (Maximilian Ruta)
This PR was submitted for the 7.1 branch but it was merged into the 5.4 branch instead. Discussion ---------- [HttpClient] Document usage or user:pass@example.com for Basic Auth It is possible to use `username:password` in the current implementation. This behavior should be documented. Commits ------- 54fc8f9 Document possibility to use user:pass for basic auth
2 parents 7d5aebc + 54fc8f9 commit 59e6831

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

http_client.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,11 @@ each request (which overrides any global authentication):
487487
// ...
488488
]);
489489
490+
.. note::
491+
492+
Basic Authentication can be set by authority in the URL, like
493+
http://user:pass@example.com/.
494+
490495
.. note::
491496

492497
The NTLM authentication mechanism requires using the cURL transport.

0 commit comments

Comments
 (0)
0