Dennis Dmitriev f420d6de01 Check for 'Location' header in the response
If the keep_alive is not available because of using reverse
proxy, the header 'Content-Lenght' may not be available,
causing the exception:

 Error communicating with server[...]: empty response

However, if 'Location' header is present, the response is valid.

Add unit tests:
- build_job must pass even if no 'content-lenght'
  in response header
- build_job must fail if no 'location' in response header

Change-Id: I4da6dd19f9d8302a76652a3686a9377f9a2503a6
Closes-Bug:#1775047
2018-06-25 12:59:38 +03:00
..
2012-05-17 16:10:00 +01:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00