Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

User-Agent changed? #442

Open
craigfrancis opened this issue Apr 12, 2021 · 1 comment
Open

User-Agent changed? #442

craigfrancis opened this issue Apr 12, 2021 · 1 comment

Comments

@craigfrancis
Copy link
Contributor

craigfrancis commented Apr 12, 2021

Following on from Issue 408, it looks like the User-Agent has lost the "Observatory/72.0" part.

The last time I've got it on my logs was on 2021-03-30.

It currently uses "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:98.0) Gecko/20100101 Firefox/98.0"

@craigfrancis
Copy link
Contributor Author

I assume HTTPOBS_RETRIEVER_USER_AGENT has been set on the server?

[retriever]
connect_timeout = 6.05
cors_origin = https://http-observatory.security.mozilla.org
read_timeout = 30
user_agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:98.0) Gecko/20100101 Firefox/98.0 Observatory/98.0

RETRIEVER_USER_AGENT = environ.get('HTTPOBS_RETRIEVER_USER_AGENT') or __conf('retriever', 'user_agent')

s.headers.update({
'User-Agent': RETRIEVER_USER_AGENT,
})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant