DataHen Till

HomeRequest Log

{{$pconf := (jsonToPageConfig .Item.PageConfig )}} {{if .Item.Session.Valid}} {{$sess := (jsonToSession .Item.Session )}} {{end}} {{if .Item.ResponseStatus.Valid }} {{end}}

Info:

Cache{{if .Item.CacheHit}}HIT{{else}}MISS{{end}}
RID{{.Item.Rid}}
GID{{.Item.Gid}}
SID{{.Item.SessionID.String}}
Timestamp{{(intToTime .Item.Timestamp).Format "2006-01-02 15:04:05"}}
 

Config:

ForceUA{{$pconf.ForceUA}}
UaType{{$pconf.UaType}}
UseProxy{{$pconf.UseProxy}}
StickyCookies{{$pconf.StickyCookies}}
StickyUA{{$pconf.StickyUA}}
IgnoreInterceptors{{$pconf.IgnoreInterceptors}}
IgnoreAllInterceptors{{$pconf.IgnoreAllInterceptors}}
CacheFreshness{{$pconf.CacheFreshness}}
CacheServeFailures{{$pconf.CacheServeFailures}}
 

Session:

Session ID{{$sess.ID}}
User Agent{{$sess.UserAgent}}
Proxy IP{{hostname $sess.ProxyURL}}
Cookie Jar {{ range $key, $values := $sess.Cookies}} {{ end }}
{{ $key }} {{ range $value := $values }} {{$value}} {{end}}
CreatedAt{{$sess.CreatedAt.Format "2006-01-02 15:04:05"}}
 

Request:

Method{{.Item.RequestMethod}}
URL{{.Item.RequestURL}}
Header {{ range $key, $values := (jsonToHeader .Item.RequestHeader )}} {{ end }}
{{ $key }} {{ range $value := $values }} {{$value}} {{end}}
ContentLength{{.Item.RequestContentLength}}
Body{{if .Item.RequestBody.Valid}}{{printf "%s" .Item.RequestBody.Bytes}}{{end}}
 

Response:

Status{{.Item.ResponseStatus.String}}
Proto{{.Item.ResponseProto.String}}
Header {{ range $key, $values := (jsonToHeader .Item.ResponseHeader )}} {{ end }}
{{ $key }} {{ range $value := $values }} {{$value}} {{end}}
ContentLength{{if .Item.ResponseContentLength.Valid}}{{.Item.ResponseContentLength.Int64}}{{end}}
TransferEncoding {{ range $value := (jsonToSlice .Item.ResponseTransferEncoding) }} {{$value}} {{end}}
Body View Content