{{- /*gotype: r00t2.io/clientinfo/server.Page*/ -}} {{- define "meta.info" -}} {{- $page := . -}} {{- $linkico := "🔗" }}

Client/Browser Information{{ $linkico }}

Your IP Address is {{ $page.Info.IP.String }}.
You are connecting with port {{ $page.Info.Port }} outbound.

{{- if $page.Raw }}

Raw Block ({{ $page.RawFmt }}){{ $linkico }}

{{- if $page.DoIndent }}

{{ $page.Raw }}
{{- else }} {{ $page.Raw }} {{- end }}

{{- end }}

User Agent Information{{ $linkico }}

This is information that your browser sends to identify itself.

{{- range $idx, $ua := $page.Info.Client }}

User Agent ({{ $idx }}):

{{- $flds := $ua.ToMap }} {{- range $fld, $str := $flds }} {{- end }}
Identifier Value
{{ $fld }} {{ $str }}
{{- /* */}}

{{- end }}

Request Headers{{ $linkico }}

These are headers sent along with the request your browser sends for the page's content. Note that some headers may have multiple values.

{{- range $hdrNm, $hdrVals := $page.Info.Req.Header }} {{- range $val := $hdrVals }} {{- end }} {{- end }}
Header Value
{{ $hdrNm }} {{ $val }}

{{- end }}