AResponseInfo.ContentStream:=TMemoryStream.Create; myhttp.Get(doc,AResponseInfo.ContentStream); AResponseInfo.ContentType:=myhttp.Response.ContentType;