How do I add headers to BasicCrawler?

I have a URL that requires some headers to be accessible, how do i add headers to BasicCrawler so I can crawl it?
Was this page helpful?