-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http: add HTTP request connection with authorization
Adds a HTTP connection on top of client.c (struct http_cli) to handle the authorization process by answering 401/403 responses. Supports basic, digest and bearer authentication. Provides a high level interface for: - setting HTTP method (GET, POST, PUT), - setting content type and TLS host name, - setting user, password and bearer, - adding custom headers.
- Loading branch information
Showing
3 changed files
with
601 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.