Let's see if the problematic URL works with WinHTTP. If the script below fails, at least it should provide us with a little more information.
Can you try running the script and posting your console results?
Test script
#AutoIt3Wrapper_AU3Check_Parameters=-w 3 -w 4 -w 5 -w 6 -d
#include <Constants.au3>
test()
Func test()
Local $oComErr = Null
;Set up local COM error handler
$oComErr = ObjEvent("AutoIt.Error", com_error_handler)
#forceref $oComErr
With ObjCreate("winhttp.winhttprequest.5.1")
;Set up & send request
.Open("GET", "https://www.britannica.com/dictionary/bum")
.Send()
;Display response
ConsoleWrite("HTTP Response Code: " & .status & " (" & .StatusText & ")" & @CRLF & @CRLF)
ConsoleWrite("HTTP Response Headers:" & @CRLF)
ConsoleWrite(.GetAllResponseHeaders())
ConsoleWrite("HTTP Response (First 500 bytes):" & @CRLF)
ConsoleWrite(StringLeft(.ResponseText, 500) & @CRLF) ;First 500 bytes of response
EndWith
EndFunc
Func com_error_handler($oError)
With $oError
ConsoleWrite(@CRLF & "COM ERROR DETECTED!" & @CRLF)
ConsoleWrite(" Error ScriptLine....... " & .scriptline & @CRLF)
ConsoleWrite(" Error Number........... " & "0x" & Hex(.number) & " (" & .number & ")" & @CRLF)
ConsoleWrite(" Error WinDescription... " & StringStripWS(.windescription, $STR_STRIPTRAILING) & @CRLF)
ConsoleWrite(" Error RetCode.......... " & "0x" & Hex(Number(.retcode)) & " (" & Number(.retcode) & ")" & @CRLF)
ConsoleWrite(" Error Description...... " & StringStripWS(.description , $STR_STRIPTRAILING) & @CRLF)
EndWith
MsgBox($MB_ICONERROR + $MB_TOPMOST, "ERROR", "A COM error has occurred. See console for details.")
Exit
EndFunc
My output (same on Win7 x64 & Win10 x64):
HTTP Response Code: 200 (OK)
HTTP Response Headers:
Cache-Control: no-store, no-cache, must-revalidate
Connection: keep-alive
Date: Sat, 26 Feb 2022 00:52:01 GMT
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Server: cloudflare
Set-Cookie: PHPSESSID=6ntp204l8k8qrn4odft5i5027l; path=/
Vary: Accept-Encoding
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=u9huK2Mw0pEiZx8JPIFGaG%2Fxh4IgcVEkSIIq5Fn1pucLfgd4A3lc8v0719dgaGDFoMWxpWoX9cdFLZcsQvT9euv9wDKQ9bMnhQFRkS1nv77VWbiY5QWha4YvrSNQxDTWoe0xvQ%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
CF-RAY: 6e353034bddc93ce-DFW
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
HTTP Response (First 500 bytes):
<!DOCTYPE html>
<html lang="en_US">
<head>
<!--SEO-related tags: title, keywords, description-->
<title>Bum Definition & Meaning | Britannica Dictionary</title>
<meta name="description" content="BUM meaning: 1 : a person who has no place to live and no job and who asks people for money; 2 : a person who is lazy or who does something badly">
<!--Static meta tags -->
<meta charset="utf-8">
<me