aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/stateobject.py
Commit message (Collapse)AuthorAgeFilesLines
* update mypyMaximilian Hils2019-11-121-5/+3
|
* Add typechecking of Any values for state objectAldo Cortesi2018-06-171-2/+9
| | | | | | | | An ugly solution for an ugly little problem. This patch uses JSON's type checker to validate Any values in stateobject, in order to avoid a circular import. Fixes #3180
* fix Python 3.6 variable type annotations #3053oscure762018-04-141-1/+1
|
* stateobject: use typing, enable tuples and more complex datatypesMaximilian Hils2018-01-131-33/+50
|
* mitmproxy.types -> mitmproxy.coretypesAldo Cortesi2017-12-171-1/+1
| | | | | | | | | | The types name is valuable, and we have a better use for it in collecting and exposing types for options and commands. The coretypes module should probably be split up anyway - it contains a threading base class, a few container objects, and the defintion of our serialization protocol. I was tempted to rename it to "uncagegorized" for the sake of honesty.
* Make mypy succeed with imports on master.pyAldo Cortesi2017-03-171-1/+2
| | | | | | | | | | | | | | | | | | We get little benefit from our mypy QA checks at the moment, because we skip imports. This patch is what's needed to make mypy succeed with imports on a single file: master.py It also updates mypy to the current version, and enables a QA check. Mypy bugs I encountered: dict.update with kwargs not supported: https://github.com/python/mypy/issues/1031 property setters and getters must be adjacent: https://github.com/python/mypy/issues/1465
* make websocket flows serializableThomas Kriechbaumer2017-03-091-0/+8
| | | | fixes #2113
* mitmproxy.types.[basethread,multidict,serializable]Aldo Cortesi2016-10-201-2/+2
|
* remove empty lines at beginning of fileThomas Kriechbaumer2016-10-171-1/+0
|
* python3: clean up super and __future__Aldo Cortesi2016-10-171-1/+0
|
* mitmproxy: zap sixAldo Cortesi2016-10-171-3/+2
|
* fix issue introduced in 72f3b2bMaximilian Hils2016-07-061-1/+1
|
* minor code improvementMaximilian Hils2016-07-051-5/+6
|
* update to latest `typing` releaseMaximilian Hils2016-06-291-3/+2
|
* use module-level imports onlyMaximilian Hils2016-05-311-2/+3
|
* Start cleaning up netlib.utilsAldo Cortesi2016-05-311-2/+2
| | | | | - Remove http2 functions, move to http2.frame - Remove Serializable, move to netlib.basetypes
* stateobject: support listsMaximilian Hils2016-04-291-1/+16
|
* py3++: iteritemsMaximilian Hils2016-03-201-2/+5
|
* combine projectsMaximilian Hils2016-02-181-0/+52