mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 02:11:38 +03:00
Make the server work again by parsing the response shape correctly.
This commit is contained in:
parent
9c7fff3e60
commit
aa9c630bb9
@ -1608,7 +1608,7 @@ u3_http_ef_http_server(c3_l sev_l,
|
|||||||
u3_noun response_header, data, complete;
|
u3_noun response_header, data, complete;
|
||||||
u3_noun status, headers;
|
u3_noun status, headers;
|
||||||
if (c3y == u3r_trel(u3t(response), &response_header, &data, &complete) &&
|
if (c3y == u3r_trel(u3t(response), &response_header, &data, &complete) &&
|
||||||
c3y == u3r_cell(u3t(response_header), &status, &headers)) {
|
c3y == u3r_cell(response_header, &status, &headers)) {
|
||||||
_http_start_respond(req_u, u3k(status), u3k(headers), u3k(data),
|
_http_start_respond(req_u, u3k(status), u3k(headers), u3k(data),
|
||||||
u3k(complete));
|
u3k(complete));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user