Fix checks for content length in object storage tests.
Tempest verifies whether HTTP response have "Content-Length"
header specified. However, the checks do not have exceptions
for the cases clearly mentioned in the RFC 7230:
"A server MUST NOT send a Content-Length header field in
any response with a status code of 1xx (Informational) or
204 (No Content)."
This patch rectifies the checks to not enforce presence of
the Content-Length in such cases.
Change-Id: I725982dbcf1f1ea4ffb2bb7106aefdd3029d3e03
Closes-Bug: #1536251
2 files changed