Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix header marshalling #924

Merged
merged 1 commit into from
Jun 11, 2024
Merged

fix header marshalling #924

merged 1 commit into from
Jun 11, 2024

Conversation

dogancanbakir
Copy link
Member

Closes #922

$ go run . -u scanme.sh -j | jq

   __        __                
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/                                                   

                projectdiscovery.io

[INF] Current katana version v1.1.0 (latest)
[INF] Started standard crawling for => https://scanme.sh
{
  "timestamp": "2024-06-07T13:49:57.458764+03:00",
  "request": {
    "method": "GET",
    "endpoint": "https://scanme.sh",
    "raw": "GET / HTTP/1.1\r\nHost: scanme.sh\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36\r\nAccept-Encoding: gzip\r\n\r\n"
  },
  "response": {
    "status_code": 200,
    "headers": {
      "content-type": "text/plain; charset=utf-8",
      "date": "Fri, 07 Jun 2024 10:49:57 GMT",
      "content-length": "2"
    },
    "body": "ok",
    "raw": "HTTP/1.1 200 OK\r\nContent-Length: 2\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Fri, 07 Jun 2024 10:49:57 GMT\r\n\r\nok"
  }
}

@dogancanbakir dogancanbakir requested a review from Mzack9999 June 7, 2024 10:50
@dogancanbakir dogancanbakir self-assigned this Jun 7, 2024
@dogancanbakir dogancanbakir linked an issue Jun 10, 2024 that may be closed by this pull request
@Mzack9999 Mzack9999 merged commit 38d052c into dev Jun 11, 2024
13 checks passed
@Mzack9999 Mzack9999 deleted the fix_header_marshalling branch June 11, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

normalizing the response headers causes confusion
2 participants