Akuli <akuviljane...@gmail.com> added the comment:

To me, it redirects or doesn't redirect to the drugs site, depending on what 
Accept-Language header your browser sends. And when the redirecting happens, 
the site is in chinese. (I don't speak chinese, and I don't know why my browser 
is sending zh-CN in Accept-Language.)


akuli@akuli-desktop:~$ curl -s -H 'Accept-Language: en-US,en;q=0.9' 
https://www.lahey.com/float.htm | head
<html>
<head>
<title>Lahey - Floating point</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="scripts\jrs.css">
</head>

<body>
<HTML>
<HEAD>


akuli@akuli-desktop:~$ curl -s -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.4' 
https://www.lahey.com/float.htm | head
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a 
HREF="https://www.hmbags.tw/";>here</a></body>


Incognito mode worked for me, because it sends `Accept-Language: 
en-US,en;q=0.9` without any additional languages.

----------
nosy: +Akuli

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45620>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to