Raise 400 on bad format
Merge pull request #18 from rudigiesler/feature/400-for-invalid-formats

Raise 400 on bad format