Files
swift/test/unit/common
Tim Burke f7a820ed3a Wait for a non-empty chunk in WSGIContext._app_call
We're functioning as a WSGI server here, so this bit from PEP-3333 seems
to apply:

> The start_response callable must not actually transmit the response
> headers. Instead, it must store them for the server or gateway to
> transmit only after the first iteration of the application return
> value that yields a non-empty bytestrin ... . In other words, response
> headers must not be sent until there is actual body data available, or
> until the application's returned iterable is exhausted.

Plus, it mirrors what swob.Request.call_application does.

Change-Id: I1e8501f8ce91ea912780db64fee1c56bef809a98
2016-08-12 05:51:57 +00:00
..
2010-07-12 17:03:45 -05:00
2016-07-25 14:56:21 +02:00
2016-08-11 09:56:15 +08:00
2016-07-07 15:34:44 -04:00