Project

Profile

Help

Issue #4878

closed

Some servers deny answering to requests made with pyhon-requests

Added by mdellweg over 5 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.20.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Sprint 54
Quarter:

Description

For example we have seen 451 (governmental censorship), but we could trace it down to the server denying access when requests was used.
This can be circumvented by setting the User-Agent header field to smth else.

PR available: https://github.com/pulp/pulp/pull/3925

Actions #2

Updated by CodeHeeler over 5 years ago

  • Status changed from NEW to POST
  • Sprint set to Sprint 53
  • Tags Pulp 2 added
Actions #3

Updated by ipanova@redhat.com over 5 years ago

  • Triaged changed from No to Yes

Added by mdellweg over 5 years ago

Revision 19a52703 | View on GitHub

Add a User-Agent header to pulp downloaders

closes #4878 https://pulp.plan.io/issues/4878

Actions #4

Updated by amacdona@redhat.com over 5 years ago

  • Sprint changed from Sprint 53 to Sprint 54
Actions #5

Updated by mdellweg over 5 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by ttereshc over 5 years ago

  • Platform Release set to 2.20.0
Actions #7

Updated by ttereshc over 5 years ago

  • Sprint/Milestone set to 2.20.0
Actions #8

Updated by ttereshc over 5 years ago

  • Status changed from MODIFIED to 5
Actions #9

Updated by ttereshc over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

Also available in: Atom PDF