... | ... | @@ -20,7 +20,7 @@ auth_client = HTTPX.plugin(:authentication) |
|
|
auth_client.authentication("SECRET-TOKEN").get("http://example.com") #=> ...Authentication: "SECRET-TOKEN"\r\n...
|
|
|
|
|
|
# does NOT send the "Authentication" header
|
|
|
HTTPX.get("http://example.come"=
|
|
|
HTTPX.get("http://example.come")
|
|
|
|
|
|
```
|
|
|
|
... | ... | @@ -31,6 +31,7 @@ HTTPX.get("http://example.come"= |
|
|
* [Compression](Compression): learn how to send requests which accept compressed responses and send compressed request bodies (gzip, deflate, brotli).
|
|
|
* [Server Push](Server-Push): (HTTP/2 only) learn how to use server push effectively.
|
|
|
* [H2C Upgrade](H2C-Upgrade): (cleartext HTTP/1.1 only) learn how to upgrade an HTTP/1 connection to an HTTP/2 connection.
|
|
|
* [Multipart Uploads](Multipart): learn how to upload files using a friendlier API.
|
|
|
* [Custom Plugins](Custom-Plugins): learn how to create your custom plugin and extend the API.
|
|
|
|
|
|
## Considerations
|
... | ... | |