1
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
Drew DeVault 2acf7fa873 net::http: export new_request{,_body} 2023-10-08 11:14:26 +02:00
Drew DeVault dbeb079262 Use errors::unsupported if scheme != http(s) 2023-10-07 12:23:41 +02:00
Drew DeVault 78a5d982eb net::http::new_request: exhaustive switch 2023-10-07 12:14:26 +02:00
Drew DeVault 337d063f15 Merge _set_content_length into new_request_body 2023-02-12 13:14:19 +01:00
Drew DeVault 2d643a6be3 request_set_content_length: set Transfer-Encoding
As a fallback for non-seekable streams
2023-02-12 13:10:02 +01:00
Drew DeVault 5d39543fcf Plumb transport config through to [[do]] 2023-02-12 13:07:05 +01:00
Drew DeVault c63af5d3ec Improve documentation and transport semantics 2023-02-12 13:05:11 +01:00
Drew DeVault 5e205199dc Fish transport config through various types 2023-02-12 12:55:16 +01:00
Drew DeVault c76599f71c transport: don't export new_reader
The semantics are internal
2023-02-12 12:52:48 +01:00
Drew DeVault d350e8ccd9 s/client_add_header/client_default_header/ 2023-02-12 12:21:03 +01:00
Drew DeVault 0eef917610 net::http::*_header: rename to header_* 2023-02-10 14:19:08 +01:00
Drew DeVault b297d9d3a0 net::http::get et al: perform request 2023-02-10 14:18:01 +01:00
Drew DeVault 26b21689b5 (Partially) implement net::http::do 2023-02-10 10:13:30 +01:00
Drew DeVault 8cde44d639 http::new_request: wrap Host in [] for ipv6 2023-02-09 23:31:12 +01:00
Drew DeVault 4bb0cd5c7e Add client struct and request helpers 2023-02-09 23:23:05 +01:00
Drew DeVault ea1a5ceb8d Initial commit 2023-02-09 11:45:25 +01:00