Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync through proxy fix #1837

Merged
merged 1 commit into from Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES/7321.bugfix
@@ -0,0 +1 @@
Fix sync using proxy server.
2 changes: 1 addition & 1 deletion pulp_rpm/app/downloaders.py
Expand Up @@ -84,7 +84,7 @@ async def _run(self, extra_data=None):
else:
url = self.url

async with self.session.get(url) as response:
async with self.session.get(url, proxy=self.proxy, auth=self.auth) as response:
self.raise_for_status(response)
to_return = await self._handle_response(response)
await response.release()
Expand Down