Fixed Indy to correctly assign request headers
This commit is contained in:
@@ -336,6 +336,7 @@ begin
|
||||
begin
|
||||
LDest := TIdEntityHeaderInfo(Destination);
|
||||
LDest.FRawHeaders.Assign(FRawHeaders);
|
||||
LDest.FCustomHeaders.Assign(FCustomHeaders);
|
||||
LDest.FCacheControl := FCacheControl;
|
||||
LDest.FCharSet := FCharSet;
|
||||
LDest.FContentDisposition := FContentDisposition;
|
||||
@@ -966,9 +967,9 @@ begin
|
||||
// TODO: omitted intentionally?
|
||||
// LDest.FHost := FHost;
|
||||
// LDest.FProxyConnection := FProxyConnection;
|
||||
end else begin
|
||||
inherited AssignTo(Destination);
|
||||
end;
|
||||
|
||||
inherited AssignTo(Destination);
|
||||
end;
|
||||
|
||||
procedure TIdRequestHeaderInfo.Clear;
|
||||
|
||||
Reference in New Issue
Block a user