Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract FakeResponse.server_protocol attribute
zope.app.testing.functional.http() used to respond with "HTTP/1.1 ...", zope.app.wsgi.testlayer.http() hardcodes the server protocol as "HTTP/1.0 ...". This is annoying when I'm trying to port old large test suites. Let's at least make this easier to customize by subclassing and overriding a single attribute, without having to rewrite the entire method.
- Loading branch information