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

Discussion in 'Python' started by Charlie Taylor, Nov 18, 2003.

  1. 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.
     
    Charlie Taylor, Nov 18, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page