doc(reference): Remove extraneouse markup
This patch removes an empt rST code block and changes Request and Response section title from "Objects" to "Req/Resp" to make it easier for users to find documentation for the "req" and "resp" objects passed into responders.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.. _request:
|
||||
|
||||
Objects
|
||||
=======
|
||||
Req/Resp
|
||||
========
|
||||
|
||||
Instances of the Request and Response classes are passed into responders as the second
|
||||
and third arguments, respectively.
|
||||
|
||||
@@ -227,12 +227,9 @@ Edit your ``images.py`` file and add the following to the resource:
|
||||
def __init__(self, storage_path):
|
||||
self.storage_path = storage_path
|
||||
|
||||
Next, edit ``app.py`` and pass in a path to the resource initializer. For now,
|
||||
it's just fine to hard-code the string.
|
||||
Then, edit ``app.py`` and pass in a path to the resource initializer.
|
||||
|
||||
.. code:: python
|
||||
|
||||
Now, let's implement the POST responder:
|
||||
Next, let's implement the POST responder:
|
||||
|
||||
.. code:: python
|
||||
|
||||
|
||||
Reference in New Issue
Block a user