mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
If we don't set content_length, it won't add the header.
This commit is contained in:
parent
ee2c8bd0a9
commit
3af6a85052
@ -524,12 +524,6 @@ _http_start_respond(u3_hreq* req_u,
|
|||||||
|
|
||||||
req_u->gen_u = gen_u;
|
req_u->gen_u = gen_u;
|
||||||
|
|
||||||
if ( c3y == complete ) {
|
|
||||||
// XX: Joe says I may need to copy it from the header.
|
|
||||||
//
|
|
||||||
rec_u->res.content_length = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2o_start_response(rec_u, &gen_u->neg_u);
|
h2o_start_response(rec_u, &gen_u->neg_u);
|
||||||
|
|
||||||
_http_hgen_send(gen_u);
|
_http_hgen_send(gen_u);
|
||||||
|
Loading…
Reference in New Issue
Block a user