[FASTCGI] HTTP Post
Saikat Kanjilal
sxk1969 at hotmail.com
Wed Oct 22 11:15:37 EDT 2008
Rob/Jay:
Thank your very much for your help on this, I would like some clarifications on some things after reading through both of your emails.
1) Rob mentioned that all of the echo examples in the dev kit currently work with post requests, my question here is do I still need to decode the data still using cgicc or some other utility, currently I am using FCGX_GetParam to retrieve the query string and then parse the key value pairs from that string, I am guessing I'll have to get rid of all of this code in order to process a POST request, is that correct
2) Ideally I would like to decode the posted data just using mod_fastcgi and the devkit and not use any other libs, to both of your knowledge is this currently possible, I couldn't quite tell from reading both of your emails
Your help is much appreciated.
Thanks
From: sxk1969 at hotmail.com
To: fastcgi-developers at mailman.fastcgi.com
Date: Tue, 21 Oct 2008 15:20:15 -0700
Subject: [FASTCGI] HTTP Post
Hi Folks:
I have written some fastcgi C++ code to process get requests which seems to be working fine, I now need to change this code to process post requests. Before I begin this endeavor I would like to confirm whether the latest release of fastcgi for Apache in windows supports http post requests as well as get requests. Additionally is there some sample code lying around that I can look at which processes post requests preferably in a while loop which keeps accepting http requests. I would ideally like to do this without bringing other libraries like gnucgicc into the picture.
Any help would be much appreciated.
Thanks
Store, manage and share up to 5GB with Windows Live SkyDrive. Start uploading now
_________________________________________________________________
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20081022/6026fc6d/attachment.html>
More information about the FastCGI-developers
mailing list