Re: HTTP Post

Saikat Kanjilal <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel,gmane.spam.detected
Message-ID <[email protected]>
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: [email protected]
To: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
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

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.