Data-Liberation-Front / csvlint.rb

The gem behind http://csvlint.io
MIT License
287 stars 88 forks source link

Undeclared header error #95

Closed Floppy closed 10 years ago

Floppy commented 10 years ago

This now assumes header-present for text/csv mime types, if the header is not specified in some other way. That means that the :undeclared_header error will not be thrown for basic CSV publishing without special headers; instead you will get an :assumed_header info message. :undeclared_header will now only be shown if the MIME type is wrong and a header declaration is not found anywhere else.

Floppy commented 10 years ago

@ldodds, can you take a look at this? I think it does what we discussed yesterday.

ldodds commented 10 years ago

Looks good to me. Merging.