mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
commit
904760c6c2
14
README.mkd
14
README.mkd
@ -4,15 +4,15 @@ __pathod__ is a collection of pathological tools for testing and torturing HTTP
|
|||||||
clients and servers. The project has three components:
|
clients and servers. The project has three components:
|
||||||
|
|
||||||
- __pathod__, an pathological HTTP daemon.
|
- __pathod__, an pathological HTTP daemon.
|
||||||
- __pathoc__, a perverse HTTP client.
|
- __pathoc__, a perverse HTTP client.
|
||||||
- __libpathod.test__, an API for easily using __pathod__ and __pathoc__ in unit tests.
|
- __libpathod.test__, an API for easily using __pathod__ and __pathoc__ in unit tests.
|
||||||
|
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
|
|
||||||
The pathod documentation is self-hosted. Just fire up pathod, like so:
|
The pathod documentation is self-hosted. Just fire up pathod, like so:
|
||||||
|
|
||||||
./pathod
|
./pathod
|
||||||
|
|
||||||
And then browse to:
|
And then browse to:
|
||||||
|
|
||||||
@ -20,20 +20,20 @@ And then browse to:
|
|||||||
|
|
||||||
You can aways view the documentation for the latest release at the pathod
|
You can aways view the documentation for the latest release at the pathod
|
||||||
website:
|
website:
|
||||||
|
|
||||||
http://pathod.net
|
http://pathod.net
|
||||||
|
|
||||||
# Installing
|
# Installing
|
||||||
|
|
||||||
If you already have __pip__ on your system, installing __pathod__ and its
|
If you already have __pip__ on your system, installing __pathod__ and its
|
||||||
dependencies is dead simple:
|
dependencies is dead simple:
|
||||||
|
|
||||||
pip install pathod
|
pip install pathod
|
||||||
|
|
||||||
The project has the following dependencies:
|
The project has the following dependencies:
|
||||||
|
|
||||||
* [netlib](http://github.com/cortesi/netlib)
|
* [netlib](https://github.com/mitmproxy/netlib)
|
||||||
* [requests](http://docs.python-requests.org/en/latest/index.html)
|
* [requests](http://docs.python-requests.org/en/latest/index.html)
|
||||||
|
|
||||||
The project's test suite uses the
|
The project's test suite uses the
|
||||||
[nose](http://nose.readthedocs.org/en/latest/) unit testing framework.
|
[nose](http://nose.readthedocs.org/en/latest/) unit testing framework.
|
||||||
|
@ -38,6 +38,6 @@ The project has the following dependencies:
|
|||||||
|
|
||||||
The project's test suite uses the nose_ unit testing framework.
|
The project's test suite uses the nose_ unit testing framework.
|
||||||
|
|
||||||
.. _netlib: http://github.com/cortesi/netlib
|
.. _netlib: https://github.com/mitmproxy/netlib
|
||||||
.. _requests: http://docs.python-requests.org/en/latest/index.html
|
.. _requests: http://docs.python-requests.org/en/latest/index.html
|
||||||
.. _nose: http://nose.readthedocs.org/en/latest/
|
.. _nose: http://nose.readthedocs.org/en/latest/
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "docframe.html" %}
|
{% extends "docframe.html" %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>
|
<h1>
|
||||||
@ -76,7 +76,7 @@ served.</p>
|
|||||||
|
|
||||||
<pre class="terminal">./pathod -a "/foo=200"</pre>
|
<pre class="terminal">./pathod -a "/foo=200"</pre>
|
||||||
|
|
||||||
<p>Here, "/foo" is ithe regex specifying the anchor path, and the part after
|
<p>Here, "/foo" is the regex specifying the anchor path, and the part after
|
||||||
the "=" is a response specifier.</p>
|
the "=" is a response specifier.</p>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
@ -161,4 +161,4 @@ disabled if no directory is specified:</p>
|
|||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "frame.html" %}
|
{% extends "frame.html" %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
@ -28,11 +28,11 @@
|
|||||||
<p> You can find the project source on GitHub: </p>
|
<p> You can find the project source on GitHub: </p>
|
||||||
|
|
||||||
<div style="margin-top: 20px; margin-bottom: 20px">
|
<div style="margin-top: 20px; margin-bottom: 20px">
|
||||||
<a class="btn btn-primary btn-large" href="https://github.com/cortesi/pathod">github.com/cortesi/pathod</a>
|
<a class="btn btn-primary btn-large" href="https://github.com/mitmproxy/pathod">github.com/mitmproxy/pathod</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>Please also use the <a
|
<p>Please also use the <a
|
||||||
href="https://github.com/cortesi/pathod/issues">github issue tracker</a> to
|
href="https://github.com/mitmproxy/pathod/issues">github issue tracker</a> to
|
||||||
report bugs. </p>
|
report bugs. </p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -45,9 +45,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin-top: 20px; margin-bottom: 20px">
|
<div style="margin-top: 20px; margin-bottom: 20px">
|
||||||
<a class="btn btn-primary btn-large" href="https://github.com/downloads/cortesi/pathod/pathod-{{version}}.tar.gz">pathod-{{version}}.tar.gz</a>
|
<a class="btn btn-primary btn-large" href="https://github.com/downloads/mitmproxy/pathod/pathod-{{version}}.tar.gz">pathod-{{version}}.tar.gz</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "frame.html" %}
|
{% extends "frame.html" %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
|
|
||||||
<div class="masthead">
|
<div class="masthead">
|
||||||
@ -58,7 +58,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Current release: <a href="http://mitmproxy.org/download/pathod-{{version}}.tar.gz">pathod {{version}}</a></li>
|
<li>Current release: <a href="http://mitmproxy.org/download/pathod-{{version}}.tar.gz">pathod {{version}}</a></li>
|
||||||
|
|
||||||
<li>GitHub: <a href="http://github.com/mitmproxy/pathod">github.com/cortesi/pathod</a></li>
|
<li>GitHub: <a href="https://github.com/mitmproxy/pathod">github.com/mitmproxy/pathod</a></li>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -66,4 +66,4 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user