mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 18:16:30 +03:00
add %chis for local-request backwards compatibility
This commit is contained in:
parent
37223edb4b
commit
3d05538f75
@ -180,6 +180,7 @@
|
||||
# define c3__chaf c3_s4('c','h','a','f')
|
||||
# define c3__chan c3_s4('c','h','a','n')
|
||||
# define c3__chew c3_s4('c','h','e','w')
|
||||
# define c3__chis c3_s4('c','h','i','s')
|
||||
# define c3__chob c3_s4('c','h','o','b')
|
||||
# define c3__chug c3_s4('c','h','u','g')
|
||||
# define c3__claf c3_s4('c','l','a','f')
|
||||
|
13
vere/http.c
13
vere/http.c
@ -891,13 +891,16 @@ _http_request(u3_hreq* req_u)
|
||||
u3_noun pox = _http_pox_to_noun(req_u->hon_u->htp_u->sev_l,
|
||||
req_u->hon_u->coq_l,
|
||||
req_u->seq_l);
|
||||
|
||||
u3_noun typ =
|
||||
_(req_u->hon_u->htp_u->lop) ?
|
||||
c3__chis :
|
||||
c3__this;
|
||||
|
||||
u3v_plan(pox,
|
||||
u3nq(c3__this,
|
||||
req_u->hon_u->htp_u->lop,
|
||||
u3nq(typ,
|
||||
req_u->hon_u->htp_u->sec,
|
||||
u3nc(u3nc(c3y, u3i_words(1, &req_u->ipf_w)),
|
||||
req)));
|
||||
u3nc(c3y, u3i_words(1, &req_u->ipf_w)),
|
||||
req));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user