eddic / fastcgipp

fastcgi++: A C++ FastCGI and Web development platform:
https://fastcgipp.isatec.ca
GNU Lesser General Public License v3.0
310 stars 94 forks source link

Adding a handler for posts with unknown content-type #58

Closed delperugia closed 5 years ago

delperugia commented 5 years ago

For consistency I propose this modification that changes the returned HTTP status from 500 (Internal Server Error) to 415 (Unsupported Media Type) when the client posts unhandled content types.

eddic commented 5 years ago

Fair enough. Thanks!