livecheck with alternate User-Agent headers #5088
Unanswered
timsutton
asked this question in
Tap maintenance and brew development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I was looking to try and address the failing
livecheck
foracpica
: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/a/acpica.rbWhat I think I've determined is that the website returns a 403 Access Denied when the default Homebrew user-agent is passed (the
-dirty
in my user-agent here is from me making a coupleputs
debugging lines in the brew livecheck code):If I set it to just
curl/8.4.0
, it's fine:I dug around a bit in issues but couldn't find anything – is there any prior art for overriding the user agent so that a web page can be still used for a livecheck? Not sure whether that has been an issue on other websites.
Beta Was this translation helpful? Give feedback.
All reactions