Added testing documentation

This commit is contained in:
Armin Ronacher 2010-04-11 19:18:40 +02:00
parent ef524f2cfd
commit 03148dba6b
3 changed files with 41 additions and 12 deletions

View file

@ -19,6 +19,8 @@ Application Object
Incoming Request Data
---------------------
.. autoclass:: Request
.. class:: request
To access incoming request data, you can use the global `request`
@ -104,6 +106,20 @@ Incoming Request Data
`root_url` ``http://www.example.com/myapplication/``
============= ======================================================
Response Objects
----------------
.. autoclass:: flask.Response
:members: set_cookie, data, mimetype
.. attribute:: headers
A :class:`Headers` object representing the response headers.
.. attribute:: status_code
The response status as integer.
Sessions
--------

View file

@ -21,4 +21,5 @@ you want to dive into all the internal parts of Flask, check out the
patterns
api
deploying
testing
becomingbig