src/inc/cheapcgi.h 1.64
1.64 2009/04/29 18:18:44 mikep
more cgi accessors for standard ENV vars
Index: src/inc/cheapcgi.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/cheapcgi.h,v
retrieving revision 1.63
retrieving revision 1.64
diff -b -B -U 4 -r1.63 -r1.64
--- src/inc/cheapcgi.h 28 Apr 2009 22:57:42 -0000 1.63
+++ src/inc/cheapcgi.h 29 Apr 2009 18:18:44 -0000 1.64
@@ -48,8 +48,14 @@
boolean cgiIsOnWeb();
/* Return TRUE if looks like we're being run as a CGI. */
+char *cgiRequestMethod();
+/* Return CGI REQUEST_METHOD (such as 'GET/POST/PUT/DELETE/HEAD') */
+
+char *cgiRequestUri();
+/* Return CGI REQUEST_URI */
+
char *cgiScriptName();
/* Return name of script so libs can do context-sensitive stuff. */
char *cgiServerName();