Skip to content

Conversation

@ErikOwen
Copy link

@ErikOwen ErikOwen commented Mar 6, 2022

Fixes #564

This PR adds support for passing in custom HTTP headers for the crawler to use, and overriding the Host HTTP header. This can be useful when attempting to crawl an IP address while targeting a specific virtual host used in the web server on that IP address.

@hakluke
Copy link

hakluke commented Mar 7, 2022

I really would love to see this implemented

Copy link
Member

@asciimoo asciimoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@asciimoo asciimoo merged commit a611094 into gocolly:master Mar 8, 2022
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.

Unable to set the Host header

3 participants