aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Make pathoc request return more human-friendly.Aldo Cortesi2013-02-273-15/+21
| | |
| | * Adapt for new netlib SNI API.Aldo Cortesi2013-02-271-0/+2
| | |
| | * Wrap webapp in a creation function.Aldo Cortesi2013-02-242-108/+108
| | | | | | | | | | | | This lets us spawn multiple instances of Pathod.
| | * Adapt to netlib API changes.Aldo Cortesi2013-02-242-2/+2
| | |
| | * Make last_log return None if nothing is logged.Aldo Cortesi2013-02-233-5/+4
| | |
| | * Adjust docs, old -C is now -I.Aldo Cortesi2013-01-211-2/+2
| | |
| | * Add support for client certificatesAldo Cortesi2013-01-209-16/+114
| | | | | | | | | | | | | | | | | | - pathod request logs now include a clientcert member with details on the client cert, or None if there wasn't one. - pathoc has a -C option to specify a client certificate
| | * Docs - pathoc and pathod proxy behaviourAldo Cortesi2013-01-052-9/+21
| | |
| | * Implement and unit test not-after-connect option.Aldo Cortesi2013-01-053-10/+22
| | |
| | * CONNECT through proxy mode for pathocAldo Cortesi2013-01-054-7/+45
| | | | | | | | | | | | Also, use this to unit test the pathod CONNECT implementation.
| | * Proxy mode: drop to SSL if we see an HTTP CONNECT requestAldo Cortesi2013-01-052-2/+16
| | |
| | * Collect SSL options into an SSLOptions objectAldo Cortesi2013-01-053-25/+23
| | | | | | | | | | | | | | | Also split SSL cert specifications from SSL service mode - we can now enter SSL service mode through a proxy CONNECT request as well.
| | * Provisional proxy mode support for pathod.Aldo Cortesi2013-01-057-15/+77
| | |
| | * Shift SSL parameters into Pathoc classAldo Cortesi2013-01-043-10/+41
| | |
| | * Require requests > 1.0.4Aldo Cortesi2012-12-313-4/+4
| | | | | | | | | | | | This changes the API slightly, since json is now a method, not a property.
| | * Fix timeout test.Aldo Cortesi2012-11-181-1/+1
| | |
| | * Add disconnect specifiers to test suite.Aldo Cortesi2012-11-184-14/+14
| | | | | | | | | | | | Fixes hangs seen in test suite with recent versions of requetss.
| | * Expand basic fuzzing example.Aldo Cortesi2012-11-161-6/+23
| | |
| | * Add :u shortcut example.Aldo Cortesi2012-11-162-3/+7
| | | | | | | | | | | | Update trove specifiers, netlib dependency.
| | * :u belongs on Request not ResponseAldo Cortesi2012-11-162-3/+4
| | |
| | * Update changelog.Aldo Cortesi2012-11-161-1/+7
| | |
| | * Add u User-agent shortcut.Aldo Cortesi2012-11-167-8/+84
| | | | | | | | | | | | | | | | | | | | | | | | Usage: 200:ua - Shortcut "a" for Android. 200:u"foo" - Or a value literal Shortcuts can be listed using the --show-uas argument to pathoc.
| | * Fix typo.Aldo Cortesi2012-11-021-2/+2
| | |
| | * Examples and documentation.Aldo Cortesi2012-11-029-30/+37
| | |
| | * Merge branch 'master' of ssh.github.com:cortesi/pathodAldo Cortesi2012-10-310-0/+0
| | |\
| | | * Bump version, update CHANGELOGAldo Cortesi2012-10-312-1/+30
| | | |
| | * | Bump version, update CHANGELOGAldo Cortesi2012-10-314-3/+32
| | |/
| | * Use .freeze to implement the -e explain flags for pathod and pathoc.Aldo Cortesi2012-10-317-7/+40
| | | | | | | | | | | | | | | This now prints (in pathoc) or logs (in pathod) a frozen specification that includes an expanded record of all generated values and locations.
| | * Fix generated values in request path specification.Aldo Cortesi2012-10-312-2/+7
| | |
| | * Add a .freeze() method to all components.Aldo Cortesi2012-10-312-45/+171
| | | | | | | | | | | | | | | This expands and freezes all randomly generated values. The message returned can be queried for a precise spec to reproduce the message.
| | * Add a .values method to messages, simplify a lot of stuff as a consequence.Aldo Cortesi2012-10-303-34/+24
| | |
| | * Make Message classes more self-contained.Aldo Cortesi2012-10-302-45/+51
| | |
| | * Extract .serve() method from message classes.Aldo Cortesi2012-10-305-75/+73
| | |
| | * Change preview_safe to return a safe copy of the current message.Aldo Cortesi2012-10-305-19/+13
| | |
| | * Simplify Request/Response class hierarchy.Aldo Cortesi2012-10-302-59/+36
| | |
| | * Add .spec methods for Request and Response objects.Aldo Cortesi2012-10-292-7/+26
| | |
| | * Add a .spec method to the token ABC, and to all tokens.Aldo Cortesi2012-10-292-31/+99
| | |
| | * Refactoring: canonical storage of a message is now the sequence of tokens ↵Aldo Cortesi2012-10-292-89/+70
| | | | | | | | | | | | | | | | | | | | | that defines it. We use a set of accessor properties to ease access to tokens. We can now ditch the .accept() methods.
| | * Cleaup, some more ABCs.Aldo Cortesi2012-10-292-60/+82
| | |
| | * Change response spec format to code[:features]Aldo Cortesi2012-10-286-34/+43
| | | | | | | | | | | | Reason message is now specified as just another feature with the "m" mnemonic.
| | * Cleaup, ABC for Value classes.Aldo Cortesi2012-10-283-22/+24
| | |
| | * Clean up .accept() signature.Aldo Cortesi2012-10-282-25/+31
| | |
| | * Split Code and Reason into separate _Component objects.Aldo Cortesi2012-10-282-30/+52
| | |
| | * .body and .method to lazy generator instantiation.Aldo Cortesi2012-10-282-24/+56
| | | | | | | | | | | | Also introduce a _Component ABC.
| | * Move message body to new lazy-generator scheme.Aldo Cortesi2012-10-287-21/+33
| | |
| | * Adjust serve() API.Aldo Cortesi2012-10-285-27/+27
| | |
| | * Remove check argument to serve() methods.Aldo Cortesi2012-10-276-64/+51
| | | | | | | | | | | | | | | | | | | | | Refactoring means we can now do this without a callback. Also introduce the maximum_length method that estimates the max possible message length.
| | * Major refactoring towars separate representation of expressions and ↵Aldo Cortesi2012-10-274-99/+91
| | | | | | | | | | | | request/response service.
| | * Unit test suite love: 100% coverageAldo Cortesi2012-10-258-14/+52
| | | | | | | | | | | | Also start figuring out how to sanitize binary data in the JSON API.
| | * Start moving policy checks to service-time, rather than parse-time.Aldo Cortesi2012-10-255-87/+64
| | |