Bug 860722 - CDN listing fetcher does not correctly handle 300 redirect http code
Summary: CDN listing fetcher does not correctly handle 300 redirect http code
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-26 14:53 UTC by Lukas Zapletal
Modified: 2014-03-18 17:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 17:37:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukas Zapletal 2012-09-26 14:53:36 UTC
Our CDN listing fetcher downloader does not properly handle redirects. I am not sure if CDN has any of these, but it would fail.

If we are going to fix it, we need to fix two bits:

src/lib/resources/cdn.rb method get

and

katello-utils/bin/katello-disconnected method get

Comment 2 Miroslav Suchý 2012-09-26 15:37:52 UTC
Is not just about 300.

We parse only 200, 404 and 403. But there are other in RFC. Besice 30x there is 100, which means I'm working on it, hold on and ignore this response.
OpenURI may handle this for us.

Comment 4 Mike McCune 2014-03-18 17:37:50 UTC
This bug was closed because of a lack of activity.  If you feel this bug should be reconsidered for attention please feel free to re-open the bug with a comment stating why it should be reconsidered.


Note You need to log in before you can comment on or make changes to this bug.