A http server

Hi,
I'm trying to set up a http server to handle a single POST request.
That POST request is to upload a huge file and the server is supposed
to handle it with the just POST request.
With my python sample code, multiple post requests are working well,
but that is not my solution.
I need a single POST request handling in the http server side.
Does anyone have a good idea for this case or sample code?
TIA

Advertisements

Back9 <> writes:
> Hi,
> I'm trying to set up a http server to handle a single POST request.
> That POST request is to upload a huge file and the server is supposed
> to handle it with the just POST request.
> With my python sample code, multiple post requests are working well,
> but that is not my solution.
> I need a single POST request handling in the http server side.
> Does anyone have a good idea for this case or sample code?

Why doesn't the single post not work with your sample code? Where is
your sample code?

It might be a good idea to use WSGI for this, to stream out the
POST-body to a temporary file. Can you use mod_wsgi in conjuction with
Apache? If not, some pure WSGI-server implementation such as Paster might be enough.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!