private void WriteResponseHeaders(IResponse originalResponse, HttpWebResponse response)
{
foreach(string headerName in response.Headers.AllKeys)
{
if(IsNotSettableHeader(headerName))
continue;
/*IHeader header = originalResponse.Headers[headerName];
if(header != null)
header.HeaderValue = ProcessResponseValue(response.Headers[headerName]);
else*/
originalResponse.Add(new StringHeader(headerName, ProcessResponseValue(response.Headers[headerName])));
}
}