kaplanlior / midburn-queue

midburn.org tickets queue system
https://midburn.org
MIT License
1 stars 5 forks source link

Ignore invalid requests and log them #10

Open eladg opened 8 years ago

eladg commented 8 years ago

All requests much be include a Content-Type: application/json header, but currently we process them as if they are jsons (which may generate exceptions).

We should ignore/reject them instead.