Is there a way to add custom header to the HTTP request without hacking the PHPCrawlerHTTPRequest class? I want to add X-Requested-With or Accept headers…
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, sorry, there's no option or method to manually add header-lines.
But feel free to put this on the list of feature-requests (since it seems useful to have).
Tanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to add custom header to the HTTP request without hacking the PHPCrawlerHTTPRequest class? I want to add X-Requested-With or Accept headers…
Hi!
No, sorry, there's no option or method to manually add header-lines.
But feel free to put this on the list of feature-requests (since it seems useful to have).
Tanks!