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
|
91e0a6874b
|
net::http: add status code utilities
|
2023-02-11 11:16:15 +01:00 |
|
Drew DeVault
|
6b36cfcff5
|
Improve error handling
|
2023-02-11 11:03:51 +01:00 |
|
Drew DeVault
|
4ce86752b3
|
net::http::header_set: rename from set_header
|
2023-02-10 14:28:25 +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
|
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
|
1c1de31c1a
|
net::http::do: prepare read buffer
|
2023-02-10 10:52:15 +01:00 |
|
Drew DeVault
|
a567ff4418
|
net::http::do: remove context struct
|
2023-02-10 10:34:57 +01:00 |
|
Drew DeVault
|
859c8dc06e
|
net::http::do: place buffer on stack
We can afford 4K of stack space
|
2023-02-10 10:27:14 +01:00 |
|
Drew DeVault
|
8ccb846c55
|
net::http::do: assert http
Until we implement TLS
|
2023-02-10 10:16:18 +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 |
|
Drew DeVault
|
ea1a5ceb8d
|
Initial commit
|
2023-02-09 11:45:25 +01:00 |
|