mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
e037fe05ff
All the content of the pathod docs are moved into Sphinx. The interactive format has not translated well to static docs, and there's still a lot of rewriting, format fixing, structuring, etc to be done.
15 lines
428 B
ReStructuredText
15 lines
428 B
ReStructuredText
.. _library:
|
|
|
|
pathod library
|
|
==============
|
|
|
|
Behind the pathod and pathoc command-line tools lurks the **pathod** library, a
|
|
powerful way to manipulate and serve HTTP requests and responses from code. The
|
|
canonical documentation for the library is in the code, and can be accessed
|
|
using pydoc.
|
|
|
|
|
|
.. literalinclude:: ../../examples/pathod/libpathod_pathoc.py
|
|
:caption: examples/pathod/libpathod_pathoc.py
|
|
:language: python
|