-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disjoint request intervals prevents CSV-formatted responses from returning correctly #71
Comments
Yes, I ran into this issue and will look in to it. Currently working on #72 |
works fine with curl |
@mangesh-pardeshi what does curl give as raw output? (ie. |
Browser request generates NPL. Looking into it |
Surprisingly it also fails using Postman when I am explicitly passing Content-type=text/csv and Accept=/ |
Based on the verbose curl output, it looks like only the response headers are getting sent, and the csv response body is failing to send. The Content-Length of only 104 bytes is very suspicious. Given that, I'm not surprised clients get upset, since they are not getting any actual content back. I'm guessing there'll be dumps in the logs from something failing to build the csv body. We just are not seeing the failure in the response because the headers are already sent. |
Fixed by #76 |
I've not dug into it, but requests with multiple disjoint intervals specified (like
2016-10-08/2016-10-09,2016-10-11/2016-10-12
) and a CSV formatted response (ie.format=csv
) cause Fili's response to be unfriendly to browsers.I've not tried it in a non-browser environment like curl yet, but I wanted to raise a flag so that others are aware of the problem. I think @mangesh-pardeshi ran into the issue first, and so he may be looking into it, but I'm not sure.
The text was updated successfully, but these errors were encountered: