with gwan server, is it possible to get the request string... ie. the arguments.
given http://myserver.com/main.cpp?arg1=one&arg2=two
im looking to obtain a char string arg1=one&arg2=two
according to docs, it should be
REQ_ENTITY, // char *ENTITY // "arg=x&arg=y..."
but doing this gives me an empty string (using args on the above url)
char * req = (char*) get_env(argv, REQ_ENTITY);
xbuf_cat(get_reply(argv), req);;
aha. i should add that get_arg( "arg1" ...)
works no problem on that exact same url string (suggesting that its in there somewhere. perhaps the raw query string
a hint or pointer to an example might be all thats needed. also it would be nice to have that work with a mapping/redirect at some point. http://myserver.com/main/arg1=one&arg2=two
regards