Documentation
¶
Overview ¶
Package httpx holds small HTTP helpers shared across the CLI's API clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
Apply sets each header from h on req, overriding existing values, except Authorization: user-supplied headers (RC_HEADERS) must not be able to swap out the CLI's auth credential.
func ParseHeaders ¶
ParseHeaders parses newline-separated "Name: Value" pairs into an http.Header, skipping blank or colon-less lines. Returns nil when none are found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.