fix an http bug

This commit is contained in:
Daniella / Tove 2024-11-15 17:13:38 +01:00
parent 92858f6baf
commit 901246abac
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -64,7 +64,7 @@ construct net:http:server:Request {
4 stop 4 stop
0 } pop 0 } pop
} }
this:head buf:sub<0 found> aadd:to-str this:=head this:head buf:sub<0 found>:replace<"\r" :to-bytes 0 banew> aadd:to-str this:=head
buf:sub<found 4 + buf:len> this:=body buf:sub<found 4 + buf:len> this:=body
this this
} }