scitran / core

RESTful API
https://scitran.github.io
MIT License
18 stars 18 forks source link

Content-Length missing on /jobs/x/config.json #1049

Closed kofalt closed 6 years ago

kofalt commented 6 years ago

Despite being a file download, GET /jobs/x/config.json does not set a content-length header. The SDK promptly reject the download for being mis-sized.

Need to set the header: self.response.headers['Content-Length'] = 3

ryansanford commented 6 years ago

@kofalt Correct to assume that you are working on the fix since you assigned yourself? I'm surprised our integration tests would be tolerant of this. Maybe not covered? I'd advocate for minimal delay on addressing.

kofalt commented 6 years ago

Solved in #1054