Bug 408979 - "Downloads are canceled on Exit when using a proxy server (HTTP/1.0)" (Remove HTTP/1.0 check) [p=hskupin@gmail.com (Henrik Skupin) r+sr=biesi a1.9=damons]

This commit is contained in:
reed@reedloden.com 2008-01-29 20:35:17 -08:00
Родитель 869d567a38
Коммит 3b91bbaedc
1 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -4714,11 +4714,8 @@ nsHttpChannel::ResumeAt(PRUint64 aStartPos,
NS_IMETHODIMP
nsHttpChannel::GetEntityID(nsACString& aEntityID)
{
// Don't return an entity ID for HTTP/1.0 servers
if (mResponseHead && (mResponseHead->Version() < NS_HTTP_VERSION_1_1)) {
return NS_ERROR_NOT_RESUMABLE;
}
// Neither return one for Non-GET requests which require additional data
// Don't return an entity ID for Non-GET requests which require
// additional data
if (mRequestHead.Method() != nsHttp::Get) {
return NS_ERROR_NOT_RESUMABLE;
}