The default HTTP Accept request header used by the Upload control appears to be: "text/html,application/xhtml+xml,application/xml". I'd like to be able to set that to "application/json" instead. Is that possible?
3 Answers, 1 is accepted
answered on 29 Aug 2012, 07:12 AM
I'm posting the reply to your ticket for community reference.
The Accept header can't be set in browsers that do not support the HTML5 File API.
If the WebAPI service is in your control you might get away by replacing the content negotiator with your own. This will allow you to use a query string parameter to select the response type.
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!