Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Question: CGI script returning binary data from a POST form submit

Reply
Thread Tools

Question: CGI script returning binary data from a POST form submit

 
 
Charlie Taylor
Guest
Posts: n/a
 
      11-18-2003


I'm having trouble passing binary data back from a python CGI script when a
POST is used to send FORM data to a Windows Server.

In this case, I've used all of the "import msvcrt" approaches and while it
seems to work fine for images, passing back an excel spreadsheet
('Content-Type: application/vnd.ms-excel') is just not working unless I
submit the FORM with a GET.

Any hints would be greatly appreciated.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
submit 1 form to 2 servers or 2 forms to 2 server (1 form each) on 1 submit abansal.itp@gmail.com Javascript 3 06-23-2007 07:29 AM
one submit button to call cgi script and process link in another form sellbellz@googlemail.com Perl Misc 1 03-21-2006 04:16 AM
New Service for CGI form submissions - Form-Submit.com ultranate@gmail.com ASP General 0 01-12-2006 08:21 PM
submit the form data to the popup window without a submit button jrefactors@hotmail.com Javascript 2 01-01-2005 06:07 AM
submit the form data to the popup window without a submit button jrefactors@hotmail.com HTML 2 01-01-2005 06:07 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57