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:
|
.. _request:
|
||||||
|
|
||||||
Objects
|
Req/Resp
|
||||||
=======
|
========
|
||||||
|
|
||||||
Instances of the Request and Response classes are passed into responders as the second
|
Instances of the Request and Response classes are passed into responders as the second
|
||||||
and third arguments, respectively.
|
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):
|
def __init__(self, storage_path):
|
||||||
self.storage_path = storage_path
|
self.storage_path = storage_path
|
||||||
|
|
||||||
Next, edit ``app.py`` and pass in a path to the resource initializer. For now,
|
Then, edit ``app.py`` and pass in a path to the resource initializer.
|
||||||
it's just fine to hard-code the string.
|
|
||||||
|
|
||||||
.. code:: python
|
Next, let's implement the POST responder:
|
||||||
|
|
||||||
Now, let's implement the POST responder:
|
|
||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user