SelectPdf Free Html To Pdf Converter for .NET VB.NET / ASP.NET - Helper Page - View HTTP Headers

This page shows the HTTP Headers sent to it:

Connection: Keep-Alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: br,gzip
Accept-Language: en-US,en;q=0.5
If-Modified-Since: Thu, 22 Feb 2024 08:33:40 GMT
User-Agent: CCBot/2.0 (

Sample Code Vb.Net

Imports System.Collections.Generic
Imports System.Collections.Specialized
Imports System.Linq
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls

Namespace SelectPdf.Samples
    Partial Public Class view_http_headers
        Inherits System.Web.UI.Page

        Protected Sub Page_Load(sender As Object, e As EventArgs)
            Dim headers As String = String.Empty
            For Each name As String In Request.Headers
                Dim value As String = Request.Headers(name)
                headers += Convert.ToString((Convert.ToString("<br/>") & name) + ": ") & value

            LitHeaders.Text = headers
        End Sub
    End Class
End Namespace