Question: CGI script returning binary data from a POST form submit
Charlie Taylor
charlie at iwec.com
Tue Nov 18 17:21:05 EST 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.
More information about the Python-list
mailing list