Top "Http-headers" questions

In the Hypertext Transfer Protocol (HTTP), HTTP header fields contain the operating parameters of an HTTP request or response.

Returning a file to View/Download in ASP.NET MVC

I'm encountering a problem sending files stored in a database back to the user in ASP.NET MVC. What I …

c# asp.net-mvc asp.net-mvc-3 download http-headers
Custom HTTP headers : naming conventions

Several of our users have asked us to include data relative to their account in the HTTP headers of requests …

http http-headers
What MIME type should I use for CSV?

I've seen application/csv used and also text/csv. Is there a difference? Does it matter which as long as …

csv http-headers mime-types content-type
How to encode the filename parameter of Content-Disposition header in HTTP?

Web applications that want to force a resource to be downloaded rather than directly rendered in a Web browser issue …

browser http-headers specifications
What are all the possible values for HTTP "Content-Type" header?

I have to validate the Content-Type header value before passing it to an HTTP request. Is there a specific list …

http http-headers httprequest content-type
Create a CSV File for a user in PHP

I have data in a MySQL database. I am sending the user a URL to get their data out as …

php csv download http-headers
What is "X-Content-Type-Options=nosniff"?

I am doing some penetration testing on my localhost with OWASP ZAP, and it keeps reporting this message: The Anti-MIME-Sniffing …

html http-headers meta owasp penetration-testing
How do I force files to open in the browser instead of downloading (PDF)?

Is there a way to force PDF files to open in the browser when the option "Display PDF in browser" …

pdf http-headers browser embed embedding
What is http multipart request?

I have been writing iPhone applications for some time now, sending data to server, receiving data (via HTTP protocol), without …

http-headers multipart
Set HTTP header for one request

I have one particular request in my app that requires Basic authentication, so I need to set the Authorization header …

javascript http-headers angularjs