Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added hint about print statements in CGI.

Fix #646
  • Loading branch information...
commit 160aa8078166f7b32015c6b3ad63a91c4500badc 1 parent fedc96c
@untitaker authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/deploying/cgi.rst
View
4 docs/deploying/cgi.rst
@@ -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
----------------------
Please sign in to comment.
Something went wrong with that request. Please try again.