A http server

B

Back9

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
 
D

Diez B. Roggisch

Back9 said:
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.

Diez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top