Changelog, minor cleanups.

This commit is contained in:
Aldo Cortesi 2013-04-30 09:32:11 +12:00
parent beb47eba51
commit 0504bcfd96
4 changed files with 21 additions and 3 deletions

View File

@ -1,3 +1,17 @@
30 April 2013: pathod 0.9 (version synced with mitmproxy):
* Pathod proxy mode. You can now configure clients to use pathod as an
HTTP/S proxy.
* Pathoc proxy support, including using CONNECT to tunnel directly to
tragets.
* Pathoc client certificate support.
* API improvements, bugfixes.
16 November 2012: pathod 0.3:
A release focusing on shoring up our fuzzing capabilities, especially with

View File

@ -1,4 +1,5 @@
import sys, os
import json
from netlib import tcp, http
import netlib.utils
import language, utils

File diff suppressed because one or more lines are too long

View File

@ -30,6 +30,9 @@ class TestApp(tutils.DaemonTests):
assert self.getpath("/log/%s"%id).status_code == 200
assert self.getpath("/log/9999999").status_code == 404
def test_log_binary(self):
assert self.get("200:h@10b=@10b:da")
def test_response_preview(self):
r = self.getpath("/response_preview", params=dict(spec="200"))
assert r.status_code == 200