mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
aquatic_http: bencoded response with content-length
This commit is contained in:
parent
a487347a0d
commit
6b1f11635b
6 changed files with 126 additions and 12 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue