def test_content_header_missing(self, client):
environ = testing.create_environ()
req = falcon.Request(environ)
for header in ('Content-Type', 'Content-Length'):
assert req.get_header(header) is None
文章目录