[Checkins] [zopefoundation/zope.app.wsgi] 01ccf3: Allow leading spaces in http() requests
Marius Gedminas
noreply at github.com
Thu Jun 6 16:45:39 CEST 2019
Branch: refs/heads/httpcaller-compat
Home: https://github.com/zopefoundation/zope.app.wsgi
Commit: 01ccf3ff5d60856b00c4b47a9ac7d185ff151449
https://github.com/zopefoundation/zope.app.wsgi/commit/01ccf3ff5d60856b00c4b47a9ac7d185ff151449
Author: Marius Gedminas <marius at gedmin.as>
Date: 2019-06-06 (Thu, 06 Jun 2019)
Changed paths:
M src/zope/app/wsgi/testlayer.py
Log Message:
-----------
Allow leading spaces in http() requests
zope.app.testing.functional.HTTPCaller allowed you to write
>>> print http(r"""
... GET / HTTP/1.1
... Headers: headers etc.
... """)
I don't see why zope.app.wsgi.testlayer.http() can't do the same.
This makes porting large ancient test suites easier.
More information about the checkins
mailing list