diff options
author | Jonathan LaCour <jonathan@dreamhost.com> | 2013-08-12 09:44:32 -0700 |
---|---|---|
committer | Jonathan LaCour <jonathan@dreamhost.com> | 2013-08-12 09:44:32 -0700 |
commit | 26041f0ebd4fe4f9047febbde1becb9c8470379b (patch) | |
tree | 5555d25b7fc8a8dc971c39fc7f1e7fccb5ddb64d /docs | |
parent | 2a2b50ff018b0de0b6f4181841761c69390dafcd (diff) | |
download | pecan-26041f0ebd4fe4f9047febbde1becb9c8470379b.tar.gz |
Adding some clarification to the file upload docs, at Ryan's request.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/routing.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/source/routing.rst b/docs/source/routing.rst index 7a6c79f..3a40241 100644 --- a/docs/source/routing.rst +++ b/docs/source/routing.rst @@ -352,6 +352,7 @@ application's controller: class RootController(object): @expose() def upload(self): + assert isinstance(request.POST['file'], cgi.FieldStorage) data = request.POST['file'].file.read() Helper Functions |