Commit graph

66 commits

Author SHA1 Message Date
86fb310e71
feat/refactor: add Client::request_with_host, move main code into it 2024-08-01 20:16:28 +04:00
d462cd4fbe
refactor: move client into separate mod 2024-08-01 20:10:09 +04:00
5dc0dadaa9
docs: add minimal readme 2024-08-01 16:41:28 +04:00
9952f1890c
add fields to manifest 2024-08-01 16:39:42 +04:00
2b6150a8e5
fix: allow all status codes with catch_all
10..69 range is still checked, see comment at L52
2024-08-01 12:35:50 +04:00
0a77d0c2e9
docs: add comments (and blank lines) 2024-08-01 12:28:13 +04:00
95362fd9e8
feat: add example and dev deps
Note: current version of main.rs example just disables TLS cert verification if `-k` arg provided.
Instead, it must use custom storage for self-signed certs.

tokio with macros & fs features in dev deps is needed for main.rs example.
2024-08-01 12:05:39 +04:00
16fc740397
fix: trim \r from message
mime type couldn't be parsed because of this
2024-08-01 11:59:32 +04:00
2d3a19c60d
feat: add &str utf8 conv error to LibError enum 2024-08-01 11:59:05 +04:00
9b80902390
fix: return mutable ref to BodyStream 2024-08-01 11:58:34 +04:00
6efe51bb15
feat: add impl Debug 2024-08-01 10:32:55 +04:00
e92f0c62a2
feat: return LibError from Response::mime(&Self) 2024-08-01 10:29:34 +04:00
a6040176fb
feat: expose all modules 2024-08-01 10:28:45 +04:00
4cf9278cad
feat: basic client (untested) 2024-07-31 22:14:29 +04:00
aceebec883
docs: license 2024-07-31 17:00:04 +04:00
c013ebf7dc
template, libs, impl Default/From 2024-07-31 16:58:17 +04:00