Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hint about print statements in CGI. #647

Merged
merged 1 commit into from Dec 13, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/deploying/cgi.rst
Expand Up @@ -16,6 +16,10 @@ Engine`_, where execution happens in a CGI-like environment.
not called because this will always start a local WSGI server which
we do not want if we deploy that application to CGI / app engine.

With CGI, you will also have to make sure that your code does not contain
any ``print`` statements, or that ``sys.stdin`` is overridden by something
that doesn't write into the HTTP response.

Creating a `.cgi` file
----------------------

Expand Down