Data-Liberation-Front / csvlint.io

Check that your CSV files are valid
http://csvlint.io
MIT License
73 stars 12 forks source link

My CSV file doesn't work #160

Closed pietercolpaert closed 10 years ago

pietercolpaert commented 10 years ago

http://demo.thedatatank.com/csv/geo.csv is a CSV file with a semi colon as a delimiter. When I try it in CSV lint, it returns this: screenshot from 2014-06-27 01 03 24 Is this due to the delimiter or is it because we do something wrong on our server side?

pietercolpaert commented 10 years ago

When trying to upload the file, it does work though.

pezholio commented 10 years ago

Hmmm... That's interesting. I've just done a curl request, and the URL returns the following:

HTTP/1.1 405 Method Not Allowed
Date: Fri, 27 Jun 2014 07:56:37 GMT
Server: Apache/2.2.22 (Ubuntu)
X-Powered-By: PHP/5.4.9-4ubuntu2.3
Cache-Control: no-cache
Access-Control-Allow-Origin: *
X-Frame-Options: SAMEORIGIN
Content-Type: application/json
X-Pad: avoid browser bug

At the moment, CSVlint will only validate URLs that return a 200 response. Is there some configuration you can do at your end?

pietercolpaert commented 10 years ago

I suppose you did a HEAD request? Seems like a bug from our part indeed! We should support HTTP HEAD!

pezholio commented 10 years ago

Cool, I'll close this in that case :smile: