The strata client code in report needs to handle (some) 3xx http status codes coming back from the strata server.
The primary case we would like to handle is the one where we would like to redirect a client to a proxy-server closer to their location.
The primary challenge is that the http standard strongly encourages ("MUST" in some cases, "SHOULD" in some others) a client to verify with the user before doing a redirect for a method other than GET or HEAD. While it is possible for the report/strata client to query the user is many cases, such a query would require some restructuring of the code that I would rather not do before GA.
ahecox is going to go through the http standard, list the codes he would like strata client to handle, and how he would like it to be handled, and then I need to go through it to decide what actually can be done by GA.
(In reply to comment #0)
> The primary case we would like to handle is the one where we would like to
> redirect a client to a proxy-server closer to their location.
An open question I have is, is the server going to be able to tell, from the incoming http request, where the request is coming from and whether or not some proxy-server is actually closer?
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Another redirect case we want to handle is with redirects for http -> https
the client should transparently (to the user) handle 305 re-directs from the server on any PUT, POST, or GET.
(In reply to comment #4)
> Another redirect case we want to handle is with redirects for http -> https
No, we don't have to handle this.
(In reply to comment #5)
> the client should transparently (to the user) handle 305 re-directs from the
> server on any PUT, POST, or GET.
This change has been pushed to the fedorahosted src repo.
While this was indeed fixed in report-0.16, it won't be testable/verifiable in RHEL6 till Strata is enabled by https://bugzilla.redhat.com/show_bug.cgi?id=567972
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.