lozad and yt workarounds

This commit is contained in:
wicknix 2022-02-26 15:09:12 -06:00 committed by GitHub
parent 993dc6a76a
commit a5eafe0f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -438,6 +438,8 @@ nsHttpHandler::AddStandardRequestHeaders(nsHttpHeaderArray *request,
!hostLine.EqualsLiteral("imgur.com") &&
!hostLine.EqualsLiteral("github.com") &&
!hostLine.EqualsLiteral("gist.github.com") &&
!hostLine.EqualsLiteral("youtube.com") &&
!hostLine.EqualsLiteral("www.youtube.com") &&
1)) {
rv = request->SetHeader(nsHttp::User_Agent, UserAgent(),
false, nsHttpHeaderArray::eVarietyDefault);