Function sendBodilessUnflushed [src]
Sends but does not flush a complete request as only HTTP head, no body.
Prototype
pub fn sendBodilessUnflushed(r: *Request) Writer.Error!void
Parameters
r: *Request
Source
pub fn sendBodilessUnflushed(r: *Request) Writer.Error!void {
assert(r.transfer_encoding == .none);
assert(!r.method.requestHasBody());
try sendHead(r);
}