@Fokko @andrewmchen I just changed the code so that we test for the HTTP status 
code instead of relying on parsing the response content. The hook's code is 
significantly simpler now too. I refactored a little bit the tests too. Now it 
is possible to test that no retry occurs for codes < 500. We can also test that 
once a retried request succeeds, the retry method simply returns the response.

[ Full content available at: 
https://github.com/apache/incubator-airflow/pull/3570 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to