aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dirclient/src/body.rs
Commit message (Collapse)AuthorAgeFilesLines
* dirclient: Split EncodedRequest and RequestBody.Nick Mathewson2026-05-121-85/+62
| | | | | RequestBody is now just an `Option<Arc<str>>` internally, and EncodedRequest is much simpler.
* tor-dirclient: Avoid copying bytes that we want to POST.Nick Mathewson2026-05-121-0/+10
| | | | | This required a change to the hsservice tests, which previously assumed that we'd perform one write per request.
* tor-dirclient: Introduce a new RequestBody type.Nick Mathewson2026-05-121-0/+105
I'm going to use this to avoid copying when uploading large documents.