Skip to content

Check response status code instead of message for file fetch requests

Marek Szuba requested to merge github/fork/imransl/master into master

Created by: imransl

This fixes responses that have a message other than 'OK' (e.g. Gatewaying) failing. An example issue is, the Allele Frequency Calculator stopped submitting jobs to the hive as the FTP files fetched for it always return 'Gatewaying' as the reponse message. However, the status code was always 200 and the file was successfully fetched too.

Merge request reports