mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-15 16:47:57 +00:00
8619a353e4
In most cases when we are detecting by status code, it is not necessary to get the entire body: we can detect fine with just the HEAD response. However, Richard Getz discovered that some sites (e.g. Instagram) will not respond properly if Sherlock only requests the HEAD. Add a "request_head_only" attribute to the data.json so HTTP Status Detection can be configured either way. It is simpler to support this change in this fashion, as it does not require changes to the tests. With Richard Getz <richardgetziii@gmail.com> |
||
---|---|---|
.. | ||
resources | ||
tests | ||
__init__.py | ||
__main__.py | ||
notify.py | ||
result.py | ||
sherlock.py | ||
sites.py |