- Add Python 3.11 to supported list and CI checks
- Add Python 3.10 to supported list and CI checks
- Use setuptools_scm for release versioning
- Blackify source
- Use GitHub Actions now for publishing releases and performing checks
- Update supported Python versions to: 2.7, 3.5, 3.6, 3.7, 3.8, 3.9
- Update README
- Add spoof.SelfSignedSSLContext convenience class
- Update README
- Update docstrings
- Update tests
- Allow queueing multiple responses at once
- Update README
- Update docstrings
- Update tests
- Update Python versions to test via pyenv and tox: 3.7.1, 3.6.7, 3.5.4, 3.4.7, 2.7.15
- Add contentEncoding convenience property to request object
- Queued responses and defaultResponse can now be callbacks!
- Update tests
- Refactor spoof.HTTPUpstreamServer to be a proper server, instead of simply wrapping the socket in the request handler.
- Add support for proxying HTTPS requests through an HTTPS server via CONNECT method.
- Add supporting tests
- Deconstruct spoof.HTTPUpstreamServer.handleRequest to allow more control
- Add spoof.HTTPUpstreamServer to handle proxy requests via CONNECT method
- Add spoof.HTTPRequestHandler.do_CONNECT to handle proxy requests
- Add spoof.SSLContext.createOpenSSLConfig to create self-signed certificates with subjectAlternativeName entries, so they can be trusted by requests, including IP addresses
- Add tests for new functionality
- Remove test code that disables SSL warnings!
- Change from nose to pytest for running tests
- Reformat code to pass Flake8
- Add .python-version pyenv file for testing convenience
- Re-run tests on latest versions of Python
- First public stable release
- Multiple Python version testing via tox