diff src/c/request.c @ 1386:64724ef86149

Basis.currentUrlHasPost
author Adam Chlipala <adam@chlipala.net>
date Thu, 06 Jan 2011 14:45:52 -0500
parents 76514ddf3a97
children e65082d76d26
line wrap: on
line diff
--- a/src/c/request.c	Thu Jan 06 14:25:42 2011 -0500
+++ b/src/c/request.c	Thu Jan 06 14:45:52 2011 -0500
@@ -230,6 +230,7 @@
     }
 
     is_post = 1;
+    uw_isPost(ctx);
 
     clen_s = uw_Basis_requestHeader(ctx, "Content-type");
     if (clen_s && !strncasecmp(clen_s, "multipart/form-data", 19)) {