aquatic_http: bencoded response with content-length

This commit is contained in:
Joakim Frostegård 2020-07-02 13:45:56 +02:00
parent a487347a0d
commit 6b1f11635b
6 changed files with 126 additions and 12 deletions

View file

@ -249,7 +249,7 @@ pub fn send_responses(
continue;
}
match established.send_response(&response.to_http_string()){
match established.send_response(&response.to_bytes()){
Ok(()) => {
debug!("sent response");