Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change the HTTP Headers being sent by IIS Server?

Status
Not open for further replies.
Sep 29, 2002
524
US
I am running an web application that needs for the server to return the following character set: Content-Type: text/html; charset=windows-1252. However, for some reason the Windows 2003 server is returning instead
Content-Type: text/html; charset=utf-8. So I am trying to find information on what are the procedures to change this from IIS?


Gladys Rodriguez
GlobalStrata Solutions
 
Actually, that refers to client handling of post header in IE. On the server side, you'd want to rewrite the ContentType in the response header. I've done this with IIS 5 to force download of text files, as well as ICA files. Check out:


It should contain what you're looking for with ASP. I never did keep my skills up to date, so I'm not sure how to do it in .Net.

XMSRE
MOSMWNMTK, WKIL+WMDM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top