Merge pull request #2090 from mitmproxy/fix-pathod-header-doc

pathoc: fix documentation for headers
This commit is contained in:
Thomas Kriechbaumer 2017-03-08 18:21:56 +01:00 committed by GitHub
commit 69f7ad21fe

View File

@ -23,7 +23,7 @@ HTTP Request
mode if the server responds correctly. Apart from that, websocket mode if the server responds correctly. Apart from that, websocket
requests are just like any other, and all aspects of the request requests are just like any other, and all aspects of the request
can be over-ridden. can be over-ridden.
* - h\:\ :ref:`VALUE`\ =\ :ref:`VALUE`\ * - h\ :ref:`VALUE`\ =\ :ref:`VALUE`\
- Set a header. - Set a header.
* - r * - r
- Set the **raw** flag on this response. Pathod will not calculate a - Set the **raw** flag on this response. Pathod will not calculate a
@ -73,7 +73,7 @@ HTTP Response
* - m\ :ref:`VALUE` * - m\ :ref:`VALUE`
- HTTP Reason message. Automatically chosen according to the response - HTTP Reason message. Automatically chosen according to the response
code if not specified. (HTTP/1 only) code if not specified. (HTTP/1 only)
* - h\:\ :ref:`VALUE`\ =\ :ref:`VALUE`\ * - h\ :ref:`VALUE`\ =\ :ref:`VALUE`\
- Set a header. - Set a header.
* - r * - r
- Set the **raw** flag on this response. Pathod will not calculate a - Set the **raw** flag on this response. Pathod will not calculate a