From fe1091d59e1295abe4dcea5117599cef421bd2a4 Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Tue, 29 Jun 1999 23:25:17 +0000 Subject: [PATCH] yanked the hardcoded content type --- uriloader/base/nsDocLoader.cpp | 1 - webshell/src/nsDocLoader.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/uriloader/base/nsDocLoader.cpp b/uriloader/base/nsDocLoader.cpp index fb348c938a3b..690bad53960e 100644 --- a/uriloader/base/nsDocLoader.cpp +++ b/uriloader/base/nsDocLoader.cpp @@ -1785,7 +1785,6 @@ nsDocumentBindInfo::OnStartBinding(nsIURI* aURL, const char *aContentType) if (NS_FAILED(rv)) return rv; char* aContentType = nsnull; channel->GetContentType(&aContentType); - aContentType = "text/html"; #endif // NECKO #if defined(DEBUG) diff --git a/webshell/src/nsDocLoader.cpp b/webshell/src/nsDocLoader.cpp index fb348c938a3b..690bad53960e 100644 --- a/webshell/src/nsDocLoader.cpp +++ b/webshell/src/nsDocLoader.cpp @@ -1785,7 +1785,6 @@ nsDocumentBindInfo::OnStartBinding(nsIURI* aURL, const char *aContentType) if (NS_FAILED(rv)) return rv; char* aContentType = nsnull; channel->GetContentType(&aContentType); - aContentType = "text/html"; #endif // NECKO #if defined(DEBUG)