Issue 16537

Bad download URL returns exception not 404

16537
Reporter: mdoering
Type: Bug
Summary: Bad download URL returns exception not 404
Description: http://api.gbif.org/v1/occurrence/download/request/141011094409524
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2014-10-21 10:18:14.256
Updated: 2015-03-02 15:21:20.127
Resolved: 2015-03-02 15:21:20.104


Author: trobertson@gbif.org
Created: 2015-03-02 15:21:20.124
Updated: 2015-03-02 15:21:20.124
        
$ curl -I http://api.gbif.org/v1/occurrence/download/request/141011094409524
HTTP/1.1 404 Not Found

With a body saying:
$ curl http://api.gbif.org/v1/occurrence/download/request/141011094409524
Download 141011094409524 doesn't exist