aboutsummaryrefslogtreecommitdiffstats
path: root/docs/pathod/library.rst
blob: b055d089389e93b5512d38374ba85ddb92aed6fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.. _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