Re: [Raw] post data
"Lars Eriksen" <[email protected]>
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <001001c5fa87$7e9b40c0$3701a8c0@targa> |
It seems to be more difficult than accessing a simple variable like in PHP. There should be a method "body(...)" complementing "getHeader(...)" as part of the request module. I wrote an extremely simple and lightweight RPC-protocol on top of HTTP and don't want to use multi part form data encoding to send data to a .spy script - and url encoded data seems extremely inefficient considering my data is zlib-compressed. I've created the PHP equivalent before and it turned out to work flawlessly - no need for any fancy encoding. I've read another post in the list's archive, someone else had trouble retrieving the raw post (body) data - and IIRC he did not have the luxury of using a "proper" encoding. Unfortunately no one replied. So how do you do it? ----- Original Message ----- From: "Jonathan Ellis" <[email protected]> To: "Lars Eriksen" <[email protected]>; "Spyce Users" <[email protected]> Sent: Tuesday, December 06, 2005 4:53 PM Subject: Re: [Spyce-users] [Raw] post data > On Tue, 6 Dec 2005 16:10:55 +0100, "Lars Eriksen" <[email protected]> > said: >> Is it possible to access the raw post data of a request? > > Yes, but perhaps if you explained what you're trying to do we could give > a more useful answer. :) > > -Jonathan > -- > C++ is history repeated as tragedy. Java is history repeated as > arce. --Scott McKay > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Spyce-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/spyce-users > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click