Skip to content

Commit

Permalink
minor #20045 [HttpClient] Document usage or user:[email protected] for…
Browse files Browse the repository at this point in the history
… 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:[email protected] 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
  • Loading branch information
javiereguiluz committed Jul 19, 2024
2 parents 7d5aebc + 54fc8f9 commit 59e6831
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions http_client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,11 @@ each request (which overrides any global authentication):
// ...
]);
.. note::

Basic Authentication can be set by authority in the URL, like
http://user:[email protected]/.

.. note::

The NTLM authentication mechanism requires using the cURL transport.
Expand Down

0 comments on commit 59e6831

Please sign in to comment.