This repository was archived by the owner on Mar 3, 2020. It is now read-only.
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
AJAX POST content-type Warning #260
Closed
Description
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, 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
Metadata
Metadata
Assignees
Labels
No labels