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.

How to properly download excel file with Angular2

This is the code of my service which makes post request with response an xls file : exportInternalOrder(body) { let user_…

excel angular content-type angular2-http
Are HTTP headers (Content-Type, &c.) case-sensitive?

Perhaps I'm skimming too fast, but couldn't find this specifically documented. In my particular case, I'm wondering about the "Content-Type" …

http http-headers content-type
When do browsers send application/octet-stream as Content-Type?

I'm developing a file upload with JSF. The application saves three dates about the file: Filename Bytes Content-Type as submitted …

jsf file-upload content-type request-headers
Tomcat 7.0.35 set HTTP response header Content-Type charset for static HTML files

I am serving some static HTML files and a servlet all in a single war file from a standalone Tomcat 7.0.35 …

tomcat war content-type servlet-filters static-html
How to set content-type in AFnetworking

I'm having problem with AFNetworking. I can't set content-type to application/json. How can i do? i try a lot …

ios objective-c json afnetworking content-type
How to get around IE8 32k limit on data:uri on base64 encode?

I need to send an html response to the browser containing a 1920x1080 png. It's a screenshot taken by an …

html internet-explorer-8 png content-type
safari ios cannot open passbook pkpass

I've seen already some topics on this subject, but havent been able to find the answer: Safari cannot open .pkpass …

ios safari content-type passbook
content type by extension

Is there any built in function that returns the content type based on the file extension?

c# content-type
Can HTTP PUT request have application/x-www-form-urlencoded as the Content-Type?

Is it valid to send form data in an HTTP PUT request? If you could point me to a spec …

rest http content-type put specifications
Using Google Apps Script to Post JSON Data

I am trying to post JSON data to the URL from google script but getting the above error: Server response : …

json google-apps-script http-post jira content-type