Commit graph

76 commits

Author SHA1 Message Date
a1ddbed7a9
fix: API in ::certs::insecure 2024-08-06 11:08:35 +04:00
dcd6359fcc
feat: improve API in ::certs::fingerprint 2024-08-06 11:07:35 +04:00
dfeaa50440
chore: bump version 2024-08-05 16:28:48 +04:00
74cd4458dc
docs: add WIP-message and "todo" 2024-08-05 16:27:55 +04:00
f5c218efb8
docs: fix description style 2024-08-05 16:20:28 +04:00
fa7626b78a
fix(example): args parser 2024-08-05 16:09:59 +04:00
1d6e22238c
feat: ClientBuilder 2024-08-05 16:09:39 +04:00
16af1c1bd0
refactor/feat: Response::bytes() and text(), rename body->stream 2024-08-05 12:04:35 +04:00
2ca51a5a20
chore(deps): cargo update 2024-08-05 12:02:51 +04:00
19e1148989
feat: custom cert verifier to support self-signed, fingerprint generator 2024-08-02 21:22:19 +04:00
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