Mercurial > urweb
comparison src/c/request.c @ 1066:740b85ef4352
Basis.currentUrl, plus redirect debugging
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 10 Dec 2009 15:20:36 -0500 |
parents | 217eb87dde31 |
children | db52c32dbe42 |
comparison
equal
deleted
inserted
replaced
1065:217eb87dde31 | 1066:740b85ef4352 |
---|---|
166 failure_kind fk; | 166 failure_kind fk; |
167 int is_post = 0, do_normal_send = 1; | 167 int is_post = 0, do_normal_send = 1; |
168 char *boundary = NULL; | 168 char *boundary = NULL; |
169 size_t boundary_len; | 169 size_t boundary_len; |
170 char *inputs; | 170 char *inputs; |
171 | |
172 uw_set_currentUrl(ctx, path); | |
171 | 173 |
172 if (!strcmp(method, "POST")) { | 174 if (!strcmp(method, "POST")) { |
173 char *clen_s = uw_Basis_requestHeader(ctx, "Content-length"); | 175 char *clen_s = uw_Basis_requestHeader(ctx, "Content-length"); |
174 if (!clen_s) { | 176 if (!clen_s) { |
175 clen_s = "0"; | 177 clen_s = "0"; |