Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure the reason is never an empty string, but None in HTTP responses
Otherwise, `aiohttp` (in tests) cannot parse the response with the trailing space in the status — `"HTTP/1.1 555 "` — since `"555 ".split()` returns only one element, and the whole string `"555 "` is used as the status with expectations of being a 3-digit numeric. Signed-off-by: Sergey Vasilyev <nolar@nolar.info>
- Loading branch information