Top "Content-type" questions

The Content-Type entity-header field indicates the media type of the entity-body sent to the recipient or, in the case of the HEAD method, the media type that would have been sent had the request been a GET.

Android set content type HttpPost

How can you change the content-type of a HttpPost in android? For a request I need to set the content …

android encoding header http-post content-type
NuSOAP: how to change content-type of request?

When consuming a .NET WCF webservice I get the following response (error): Unsupported HTTP response status 415 Cannot process the message …

php web-services content-type nusoap
What is the HTML5 alternative to the obsolete meta http-equiv=content-language.

I'm finishing up an HTML5 site that has a mixture of English and Mandarin Chinese. My validator (HTML5 Validator add-on …

html validation content-type multilingual
"name" web pdf for better default save filename in Acrobat?

My app generates PDFs for user consumption. The "Content-Disposition" http header is set as mentioned here. This is set to "…

http pdf content-type acrobat
Get excel file (.xlsx) from server response in ajax

I have got a problem with getting excel file and opening download window in the browser after getting a response (…

javascript ajax excel content-type content-disposition
Get the response Content-Type header from XHR

I would like to see whether the header was text/html or text/xml. If it was text/html then …

javascript jquery ajax content-type xmlhttprequest
How can I remove default headers that cURL sends?

Curl by default adds headers such as Content-type and User-agent. Normally that is a good thing but I'm trying to …

curl http-headers content-type x-www-form-urlencoded
"application/json" constant in .NET framework

I've just declared a constant for the "application/json" content type in one of my classes. public const string JsonContentType = "…

c# .net asp.net-mvc content-type
ASP MVC - Are there any constants for the default content types?

Is there a set of constants in the framework for all the standard content types?

asp.net-mvc content-type
Jpg content type

I have the next content-types: image/gif image/png application/vnd.ms They all work and recognized the files (gif, …

c# mime-types content-type