FirelyTeam / spark

Firely and Incendi's open source FHIR server
BSD 3-Clause "New" or "Revised" License
258 stars 166 forks source link

Return reasonable error if content-type is missing #14

Closed ewoutkramer closed 9 years ago

ewoutkramer commented 10 years ago

(or incorrect)

I think Spark (or rather the WebApi2) will now return a 500 or something when you do a POST without a content-type. This is hard for users to understand and debug.

mbaltus commented 9 years ago

Spark now returns a 415 Unsupported Media Type.