owin/gate — pull request #76 by vinntreus (2012-03-18 00:58:54+00:00)
Title: Cannot send content when using web api adapter

Posting some content to an web api action will add headers like Content-Type and Content-Length. When creating a request in the webapiadapter, all request headers are appended to request.Headers. This collection throws an exception when trying to add a content header to it.

Here is a fix, which adds content headers to the request.Content.Headers instead.