-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Labels
Element: HTTPIssues related to HTTP handling, TIdHTTP, TIdHTTPServer, TIdHTTPProxyServer, etcIssues related to HTTP handling, TIdHTTP, TIdHTTPServer, TIdHTTPProxyServer, etcStatus: Review NeededIssue needs further review to decide next statusIssue needs further review to decide next statusType: BugIssue is a bug in existing codeIssue is a bug in existing code
Description
First reqest is done via IPv6, but when the server response with 301, the RedirectUrl ist not called with the same IP-Protocol-Version.
Can be fixed via:
if Request.IPVersion=Id_IPv6 then
begin
with TIdURI.Create(LLocation) do
begin
URI := LLocation;
IPVersion := Id_IPv6;
LLocation := URI;
Free;
end;
end;
in
function TIdHTTPProtocol.ProcessResponse(AIgnoreReplies: array of Int16): TIdHTTPWhatsNext;
...
after:
LLocation := Response.Location;
LMethod := Request.Method;
Metadata
Metadata
Assignees
Labels
Element: HTTPIssues related to HTTP handling, TIdHTTP, TIdHTTPServer, TIdHTTPProxyServer, etcIssues related to HTTP handling, TIdHTTP, TIdHTTPServer, TIdHTTPProxyServer, etcStatus: Review NeededIssue needs further review to decide next statusIssue needs further review to decide next statusType: BugIssue is a bug in existing codeIssue is a bug in existing code