Valentin Kulesh 06155ff6e0
Work around recent Akamai/Microsoft issues
At the moment, Microsoft Office and related casks fail audit due to
failure to fetch a product homepage from the main Microsoft site
(https://www.microsoft.com/) served by Akamai CDN.
The failure is severe and weird: no status code is received as the
connection is reset.
The analysis revealed the issue is linked to `User-Agent` and
`Accept-Language` headers parsing. Homebrew uses involved user agent
strings and has language hardcoded as `en`.
The simplest workaround is to use a simple user agent string when checking
homepage availability if the cask is in an audit exceptions list.

Merging this would fix Microsoft Office updates (including
https://github.com/Homebrew/homebrew-cask/pull/162671)
2023-12-16 22:20:17 +03:00
..
2023-05-03 11:29:01 -05:00
2023-03-26 08:14:24 +02:00
2023-08-12 22:01:22 -07:00
2023-09-29 05:25:48 +01:00
2023-11-05 08:55:58 -08:00
2023-04-24 20:42:39 -07:00
2023-08-10 16:08:47 +01:00
2023-11-05 09:28:19 -08:00
2023-05-12 21:17:30 +02:00
2023-05-12 21:17:30 +02:00
2023-03-09 13:42:06 -08:00
2023-04-28 11:22:54 -07:00
2023-05-12 21:17:30 +02:00
2023-11-09 10:23:13 +11:00
2023-05-13 06:46:59 +02:00