SelectPdf for .NET - Helper Page - View HTTP Headers - VB.NET / ASP.NET MVC Sample

This page shows the HTTP Headers sent to it:

Connection: close
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: zstd, br, gzip
Accept-Language: en-US,en;q=0.5
Host: selectpdf.com
User-Agent: CCBot/2.0 (https://commoncrawl.org/faq/)

Sample code · VB.NET
Namespace Controllers
    Public Class ViewHttpHeadersController
        Inherits Controller

        ' GET: ViewHttpHeaders
        Public Function Index() As ActionResult
            Dim headers As String = String.Empty
            For Each name As String In Request.Headers
                Dim value As String = Request.Headers(name)
                headers += "<br/>" & name & ": " & value
            Next

            ViewData.Add("HeadersValue", headers)

            Return View()
        End Function
    End Class
End Namespace