Last active
July 14, 2020 13:35
-
-
Save lowedown/7d2ecd1bf9d616905885013bc78a35e9 to your computer and use it in GitHub Desktop.
Display all Headers. Do not use in production!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" AutoEventWireup="true"%> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
</head> | |
<body> | |
<form id="form1" runat="server"> | |
<div> | |
Forwarded Headers:<br/> | |
<% foreach (var header in Request.Headers.AllKeys) | |
{ %> | |
<strong><%= header %>:</strong><%= Request.Headers[header] %><br/> | |
<% } %> | |
</div> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment