I'm using python requests to send http requests to www.fredmeyer.com
I can't even get past an initial get request to this domain. doing a simple requests.get
results in the connection hanging and never timing out. i've verified i have access to this domain and am able to run the request on my local machine. can anyone replicate
The site seems to have some filtering enabled to prohibit bots or similar. The following HTTP request works currently with the site:
If the
Connection
header is removed or its value changed toclose
it will hang. If the (empty)Accept-Encoding
header is missing it will also hang. If theAccept
line is missing it will return403 Forbidden
.In order to access this site with requests the following currently works for me:
Note that the heuristics used by the site to detect bots might change, so this might stop working in the future.