ASP.Net/Response/Header
Adding an HTTP Header (VB.net)
<%@ Page Language="vb" %>
<html>
<head>
<title>Adding an HTTP Header in ASP.NET</title>
<script runat="server">
Sub Page_Load()
Response.AppendHeader("Content-Type", "text/xml")
Message.Text = Response.ContentType
End Sub
</script>
</head>
<body>
<asp:label id="Message" runat="server"/>
</body>
</html>
Clearing header (VB.net)
<%@ Page Language="vb" %>
<html>
<head>
<title>Clearing header in ASP.NET</title>
<script runat="server">
Sub Page_Load()
Response.AppendHeader("Content-Type", "text/xml")
Response.ClearHeaders()
Message.Text = Response.ContentType
End Sub
</script>
</head>
<body>
<asp:label id="Message" runat="server"/>
</body>
</html>