Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Shift SSL parameters into Pathoc class | Aldo Cortesi | 2013-01-04 | 1 | -2/+30 | |
| | ||||||
* | Fix timeout test. | Aldo Cortesi | 2012-11-18 | 1 | -1/+1 | |
| | ||||||
* | Add disconnect specifiers to test suite. | Aldo Cortesi | 2012-11-18 | 4 | -14/+14 | |
| | | | | Fixes hangs seen in test suite with recent versions of requetss. | |||||
* | :u belongs on Request not Response | Aldo Cortesi | 2012-11-16 | 1 | -2/+3 | |
| | ||||||
* | Add u User-agent shortcut. | Aldo Cortesi | 2012-11-16 | 2 | -2/+21 | |
| | | | | | | | | 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. | |||||
* | Use .freeze to implement the -e explain flags for pathod and pathoc. | Aldo Cortesi | 2012-10-31 | 2 | -1/+6 | |
| | | | | | 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 Cortesi | 2012-10-31 | 1 | -0/+5 | |
| | ||||||
* | Add a .freeze() method to all components. | Aldo Cortesi | 2012-10-31 | 1 | -45/+118 | |
| | | | | | 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 Cortesi | 2012-10-30 | 1 | -4/+4 | |
| | ||||||
* | Make Message classes more self-contained. | Aldo Cortesi | 2012-10-30 | 1 | -6/+6 | |
| | ||||||
* | Extract .serve() method from message classes. | Aldo Cortesi | 2012-10-30 | 1 | -11/+11 | |
| | ||||||
* | Change preview_safe to return a safe copy of the current message. | Aldo Cortesi | 2012-10-30 | 1 | -3/+3 | |
| | ||||||
* | Simplify Request/Response class hierarchy. | Aldo Cortesi | 2012-10-30 | 1 | -2/+1 | |
| | ||||||
* | Add .spec methods for Request and Response objects. | Aldo Cortesi | 2012-10-29 | 1 | -0/+15 | |
| | ||||||
* | Add a .spec method to the token ABC, and to all tokens. | Aldo Cortesi | 2012-10-29 | 1 | -30/+63 | |
| | ||||||
* | Refactoring: canonical storage of a message is now the sequence of tokens ↵ | Aldo Cortesi | 2012-10-29 | 1 | -21/+9 | |
| | | | | | | | 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 Cortesi | 2012-10-29 | 1 | -3/+3 | |
| | ||||||
* | Change response spec format to code[:features] | Aldo Cortesi | 2012-10-28 | 2 | -8/+7 | |
| | | | | Reason message is now specified as just another feature with the "m" mnemonic. | |||||
* | Cleaup, ABC for Value classes. | Aldo Cortesi | 2012-10-28 | 2 | -2/+2 | |
| | ||||||
* | Clean up .accept() signature. | Aldo Cortesi | 2012-10-28 | 1 | -4/+0 | |
| | ||||||
* | Split Code and Reason into separate _Component objects. | Aldo Cortesi | 2012-10-28 | 1 | -7/+13 | |
| | ||||||
* | .body and .method to lazy generator instantiation. | Aldo Cortesi | 2012-10-28 | 1 | -11/+11 | |
| | | | | Also introduce a _Component ABC. | |||||
* | Move message body to new lazy-generator scheme. | Aldo Cortesi | 2012-10-28 | 3 | -4/+8 | |
| | ||||||
* | Adjust serve() API. | Aldo Cortesi | 2012-10-28 | 1 | -11/+11 | |
| | ||||||
* | Remove check argument to serve() methods. | Aldo Cortesi | 2012-10-27 | 2 | -25/+15 | |
| | | | | | | | 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 Cortesi | 2012-10-27 | 1 | -6/+6 | |
| | | | | request/response service. | |||||
* | Unit test suite love: 100% coverage | Aldo Cortesi | 2012-10-25 | 5 | -1/+30 | |
| | | | | 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 Cortesi | 2012-10-25 | 1 | -48/+35 | |
| | ||||||
* | Extend Action and Value classes | Aldo Cortesi | 2012-10-24 | 1 | -59/+121 | |
| | | | | | | - Values now know how to print their own specs - Actions now know how to print their own specs - Actions have a resolve_offset method that resolves relative and random offsets. | |||||
* | Start making Action objects more sophisticated. | Aldo Cortesi | 2012-10-05 | 1 | -3/+15 | |
| | ||||||
* | Remove actions log and explain, preparing for a more sophisticated take on this. | Aldo Cortesi | 2012-10-05 | 1 | -5/+1 | |
| | ||||||
* | rparse.py -> language.py | Aldo Cortesi | 2012-10-05 | 1 | -100/+100 | |
| | ||||||
* | Add -q and -r flags to pathod, logging request and respnose bytes. | Aldo Cortesi | 2012-10-01 | 1 | -0/+2 | |
| | | | | | | | - These flags also mean that a bytes log is included in the internal log buffer. - There's an -x flag to turn on hex dump output in the text logs (does not affect the log buffer). | |||||
* | Add timeout argument to Pathod, and matching -t command-line option. | Aldo Cortesi | 2012-10-01 | 2 | -1/+12 | |
| | ||||||
* | Add pathoc -T to ignore timeouts. | Aldo Cortesi | 2012-09-28 | 1 | -1/+2 | |
| | | | | Also move -c to -C for consistency. | |||||
* | Add pathoc -c to specify a list of return codes to ignore. | Aldo Cortesi | 2012-09-27 | 1 | -1/+8 | |
| | ||||||
* | Refactor print_requests -> print_request | Aldo Cortesi | 2012-09-26 | 1 | -8/+9 | |
| | | | | | - Change to handle one request at a time - Shift error handling around | |||||
* | Response printing | Aldo Cortesi | 2012-09-26 | 1 | -13/+14 | |
| | | | | Options to output full response, as sniffed from the socket. | |||||
* | Hex and verbatim output of requests. | Aldo Cortesi | 2012-09-26 | 1 | -1/+6 | |
| | | | | | This works by sniffing traffic through the socket, so always gives us the exact traffic sent upstream. | |||||
* | Stub out new output argument structure. | Aldo Cortesi | 2012-09-26 | 1 | -6/+17 | |
| | ||||||
* | Download page, MANIFEST.in | Aldo Cortesi | 2012-08-23 | 1 | -5/+0 | |
| | ||||||
* | Testing examples and docs. | Aldo Cortesi | 2012-07-30 | 1 | -5/+4 | |
| | ||||||
* | Cleanup of libpathod.test, test example for front page. | Aldo Cortesi | 2012-07-30 | 2 | -10/+10 | |
| | ||||||
* | 100% test coverage. | Aldo Cortesi | 2012-07-30 | 2 | -0/+7 | |
| | ||||||
* | Add a --nohang flag that turns off pauses in response generation. | Aldo Cortesi | 2012-07-26 | 2 | -1/+12 | |
| | ||||||
* | Note that pauses are skipped during previews. | Aldo Cortesi | 2012-07-25 | 1 | -1/+1 | |
| | ||||||
* | Unit test about page. | Aldo Cortesi | 2012-07-25 | 1 | -0/+4 | |
| | ||||||
* | Nicer error for empty preview spec submission. | Aldo Cortesi | 2012-07-25 | 1 | -0/+4 | |
| | ||||||
* | Refine parse error message a bit. | Aldo Cortesi | 2012-07-25 | 1 | -0/+5 | |
| | ||||||
* | Refactor test.py, add unit tests for app.py corner case. | Aldo Cortesi | 2012-07-25 | 2 | -6/+14 | |
| |