1
Fork 0
Commit graph

13 commits

Author SHA1 Message Date
Drew DeVault 9237448725 Updates for Hare upstream changes
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-04-19 11:24:02 +02:00
Willow Barraco 1d5c710f55 Implement server-side HTTP support
Co-authored-by: Drew DeVault <sir@cmpwn.com>
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-04-19 11:22:15 +02:00
Drew DeVault a8da673321 net::http: implement response cases without body 2023-10-08 11:24:26 +02:00
Drew DeVault 2acf7fa873 net::http: export new_request{,_body} 2023-10-08 11:14:26 +02:00
Drew DeVault 380d174beb cmd/http: add headers via getopt 2023-10-07 12:57:35 +02:00
Drew DeVault 396d6caa76 transport: improve identity transport lifetime 2023-10-07 12:43:58 +02:00
Drew DeVault 946c985a02 Rig out transport handling, finish identity reader
New patch will implement more transports, such as chunked and gzip.
2023-02-11 11:31:07 +01:00
Drew DeVault b297d9d3a0 net::http::get et al: perform request 2023-02-10 14:18:01 +01:00
Drew DeVault ca93a48b12 Implement HTTP response parsing and reader
TODO: Handle Transfer-Encoding and Content-Length properly
2023-02-10 14:09:28 +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 a0bfaef6ba Initial commit 2023-02-09 20:56:48 +01:00