IE cannot display form response page from python server
1 Attachment(s)
I’m using a local python web server to receive data from a form displayed with HTMLViewer. Internet Exploder/HTMLViewer gives a “Cannot display page” error when the python web server attempts to write back a ‘Post OK’ message. When I just run the web server and submit the form with Firefox, it displays the message.
What does the web sever need to do for IE to display a form response page? Here is the python code that handles the form POST request and writes back the response: Code:
class MyHandler(CGIHTTPRequestHandler): I have attached a zip with test files. Run QuestionAsker.py to reproduce issue. |
I'm not sure what the problem is, but this sounds like an issue with Internet Explorer. Why are you sending a 301 response? Have you tried sending the OK response code, 200?
|
Sending the 200 response code works! However next time I try to process a form and send an response page it gives me the error page.
I guess it servers me right messing with protocols beyond my control. |
All times are GMT -7. The time now is 01:45 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC