diff 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
line wrap: on
line diff
--- a/src/c/request.c	Thu Dec 10 13:32:09 2009 -0500
+++ b/src/c/request.c	Thu Dec 10 15:20:36 2009 -0500
@@ -169,6 +169,8 @@
   size_t boundary_len;
   char *inputs;
 
+  uw_set_currentUrl(ctx, path);
+
   if (!strcmp(method, "POST")) {
     char *clen_s = uw_Basis_requestHeader(ctx, "Content-length");
     if (!clen_s) {