thoughtbot/capybara-webkit — Issue #260: AJAX POST content-type Warning 
Author: visoft
Created: 2012-02-04 20:46:11+00:00
State: open

I have a link that does a POST, e.g.

link_to "Add", my_url(obj), :method => :post, :remote => :true

In my Cucumber output I get the message:

content-type missing in HTTP POST, defaulting to application/octet-stream

According to [the docs](http://developer.qt.nokia.com/doc/note_revisions/84/125/view), this warning can be muted by setting the following:

networkRequest.setHeader(QNetworkRequest::ContentTypeHeader, "application/octet-stream");

If you don't want to or can't add it, is there another way to stop this warning from showing up?

Thanks,
-Damien