diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-03-10 17:02:09 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-03-10 17:02:09 +0100 |
commit | b59013f6e3d80fa6bbf5640f2652559457f07d0e (patch) | |
tree | bba552a4d7f089dc422df2aff2a9095153118311 /doc-src | |
parent | 982da23e9a219d055c2137f56b885c06006ca098 (diff) | |
parent | 9cc10630c8e0b0f249ed852299d3316ba42f128d (diff) | |
download | mitmproxy-b59013f6e3d80fa6bbf5640f2652559457f07d0e.tar.gz mitmproxy-b59013f6e3d80fa6bbf5640f2652559457f07d0e.tar.bz2 mitmproxy-b59013f6e3d80fa6bbf5640f2652559457f07d0e.zip |
Merge branch 'absolutely_relative_proxying'
Diffstat (limited to 'doc-src')
-rw-r--r-- | doc-src/features/reverseproxy.html | 2 | ||||
-rw-r--r-- | doc-src/scripting/inlinescripts.html | 28 |
2 files changed, 15 insertions, 15 deletions
diff --git a/doc-src/features/reverseproxy.html b/doc-src/features/reverseproxy.html index d399cdc0..7be02b87 100644 --- a/doc-src/features/reverseproxy.html +++ b/doc-src/features/reverseproxy.html @@ -10,7 +10,7 @@ __Host__ header field from the request, not the reverse proxy server. <table class="table"> <tbody> <tr> - <th width="20%">command-line</th> <td>-P http[s]://hostname[:port]</td> + <th width="20%">command-line</th> <td>-R http[s]://hostname[:port]</td> </tr> <tr> <th>mitmproxy shortcut</th> <td><b>P</b></td> diff --git a/doc-src/scripting/inlinescripts.html b/doc-src/scripting/inlinescripts.html index 7ab1c101..32a98e99 100644 --- a/doc-src/scripting/inlinescripts.html +++ b/doc-src/scripting/inlinescripts.html @@ -76,26 +76,26 @@ The main classes you will deal with in writing mitmproxy scripts are: <table class="table"> <tr> - <th>libmproxy.flow.ClientConnection</th> - <td>Describes a client connection.</td> + <th>libmproxy.proxy.server.ConnectionHandler</th> + <td>Describes a proxy client connection session. Always has a client_conn attribute, might have a server_conn attribute.</td> </tr> <tr> - <th>libmproxy.flow.ClientDisconnection</th> - <td>Describes a client disconnection.</td> + <th>libmproxy.proxy.connection.ClientConnection</th> + <td>Describes a client connection.</td> + </tr> + <tr> + <th>libmproxy.proxy.connection.ServerConnection</th> + <td>Describes a server connection.</td> </tr> <tr> - <th>libmproxy.flow.Error</th> + <th>libmproxy.protocol.primitives.Error</th> <td>A communications error.</td> </tr> <tr> - <th>libmproxy.flow.Flow</th> + <th>libmproxy.protocol.http.HTTPFlow</th> <td>A collection of objects representing a single HTTP transaction.</td> </tr> <tr> - <th>libmproxy.flow.Headers</th> - <td>HTTP headers for a request or response.</td> - </tr> - <tr> <th>libmproxy.flow.ODict</th> <td>A dictionary-like object for managing sets of key/value data. There @@ -103,15 +103,15 @@ The main classes you will deal with in writing mitmproxy scripts are: calls (used mainly for headers).</td> </tr> <tr> - <th>libmproxy.flow.Response</th> + <th>libmproxy.protocol.http.HTTPResponse</th> <td>An HTTP response.</td> </tr> <tr> - <th>libmproxy.flow.Request</th> + <th>libmproxy.protocol.http.HTTPRequest</th> <td>An HTTP request.</td> </tr> <tr> - <th>libmproxy.flow.ScriptContext</th> + <th>libmproxy.script.ScriptContext</th> <td> A handle for interacting with mitmproxy's from within scripts. </td> </tr> <tr> @@ -124,7 +124,7 @@ The canonical API documentation is the code. You can view the API documentation using pydoc (which is installed with Python by default), like this: <pre class="terminal"> -> pydoc libmproxy.flow.Request +> pydoc libmproxy.protocol.http.HTTPRequest </pre> |