Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python3++ | Maximilian Hils | 2015-09-17 | 1 | -22/+3 |
| | |||||
* | add move tests and code from mitmproxy | Thomas Kriechbaumer | 2015-08-10 | 1 | -1/+2 |
| | |||||
* | http2: improve protocol | Thomas Kriechbaumer | 2015-07-30 | 1 | -2/+5 |
| | |||||
* | cleanup code with autopep8 | Thomas Kriechbaumer | 2015-05-27 | 1 | -3/+7 |
| | | | | run the following command: $ autopep8 -i -r -a -a . | ||||
* | ODict improvements | Aldo Cortesi | 2015-04-15 | 1 | -6/+19 |
| | | | | | | | | - Setting values now tries to preserve the existing order, rather than just appending to the end. - __repr__ now returns a repr of the tuple list. The old repr becomes a .format() method. This is clearer, makes troubleshooting easier, and doesn't assume all data in ODicts are header-like | ||||
* | odict: don't convert values to strings when added | Aldo Cortesi | 2015-04-14 | 1 | -2/+2 |
| | |||||
* | Add an .extend method for ODicts | Aldo Cortesi | 2015-04-14 | 1 | -0/+6 |
| | |||||
* | fix code smell | Maximilian Hils | 2015-04-09 | 1 | -1/+1 |
| | |||||
* | fix #53 | Maximilian Hils | 2015-02-27 | 1 | -1/+1 |
| | |||||
* | Short-form getstate | Aldo Cortesi | 2014-09-17 | 1 | -1/+1 |
| | |||||
* | Adjust for state object protocol changes in mitmproxy. | Aldo Cortesi | 2014-09-17 | 1 | -10/+12 |
| | |||||
* | make inequality comparison work | Maximilian Hils | 2014-09-04 | 1 | -0/+3 |
| | |||||
* | minor cleanups | Maximilian Hils | 2014-08-16 | 1 | -0/+1 |
| | |||||
* | make error message example less abstract. | Maximilian Hils | 2014-03-31 | 1 | -1/+1 |
| | |||||
* | Instead of removing the error, for consistency, leaving the error as-was | Pedro Worcel | 2014-03-31 | 1 | -3/+2 |
| | | | | | and replaced the message with something that may or may not be more understandable :P | ||||
* | Change error into awesome user-friendlyness | Pedro Worcel | 2014-03-30 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | Hi there, I was getting a very weird error "ODict valuelist should be lists", when attempting to add a header. My code was as followed: ``` msg.headers["API-Key"] = new_headers["API-Key"] 42 msg.headers["API-Sign"] = new_headers["API-Sign"] ``` In the end, that was because there could be multiple equal headers. In order to cater to that, it you guys might enjoy the patch I attach, for it converts strings automatically into lists of multiple headers. I think it should work, but I haven't tested it :$ It'd allow me to have the above code, instead of this one below: ``` msg.headers["API-Key"] = [new_headers["API-Key"]] 42 msg.headers["API-Sign"] = [new_headers["API-Sign"]] ``` | ||||
* | Re-add state operations to ODict. | Aldo Cortesi | 2014-03-02 | 1 | -0/+10 |
| | |||||
* | Cleanups, tests, and no-cover directives for code sections we can't test. | Aldo Cortesi | 2014-03-02 | 1 | -10/+0 |
| | |||||
* | move StateObject back into libmproxy | Maximilian Hils | 2014-01-31 | 1 | -2/+1 |
| | |||||
* | remove subclassing of tuple in tcp.Address, move StateObject into netlib | Maximilian Hils | 2014-01-30 | 1 | -1/+6 |
| | |||||
* | ODict.keys | Aldo Cortesi | 2013-02-28 | 1 | -0/+3 |
| | |||||
* | add __iter__ for odict | Maximilian Hils | 2012-12-05 | 1 | -0/+3 |
| | |||||
* | Add a get_first convenience function to ODict. | Aldo Cortesi | 2012-08-18 | 1 | -0/+6 |
| | |||||
* | Initial checkin. | Aldo Cortesi | 2012-06-19 | 1 | -0/+160 |