Description of Problem:
Exception during call to Web API controller.
Steps to reproduce the problem:
1. Use MONO 3.4.0 compiled and installed on CentOS 6.5 X64.
2. Create a Console Application (I used VS).
3. Add "Microsoft ASP.NET Web API 2.1 OWIN Self Host" by nuget (5.1.2).
4. Create a ApiController like this page:http://www.asp.net/web-api/overview/working-with-http/sending-html-form-data,-part-2.
5. Try to upload file by form.
6. You will get Server response HttpCode:415.
The main reason for the problem is:
Requst.Content.Headers.ContentType is null,but you can see it by Request.Content.Headers["Content-Type"].