Merge pull request #1465 from projectdiscovery/issue-1312-headless-matchers

Fixing typo in request/response history
dev
Sandeep Singh 2022-01-07 16:35:35 +05:30 committed by GitHub
commit ccef8afbe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func (p *Page) routingRuleHandler(ctx *rod.Hijack) {
if respPayloads != nil { if respPayloads != nil {
rawResp.WriteString("HTTP/1.1 ") rawResp.WriteString("HTTP/1.1 ")
rawResp.WriteString(fmt.Sprint(respPayloads.ResponseCode)) rawResp.WriteString(fmt.Sprint(respPayloads.ResponseCode))
rawResp.WriteString(" " + respPayloads.ResponsePhrase + "+\n") rawResp.WriteString(" " + respPayloads.ResponsePhrase + "\n")
for _, header := range respPayloads.ResponseHeaders { for _, header := range respPayloads.ResponseHeaders {
rawResp.WriteString(header.Name + ": " + header.Value + "\n") rawResp.WriteString(header.Name + ": " + header.Value + "\n")
} }