Made contentType a read/write attribute of nsIChannel

git-svn-id: svn://10.0.0.236/trunk@57178 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
2000-01-08 06:26:04 +00:00
parent b9b0d4b201
commit 50c3fad132
24 changed files with 202 additions and 28 deletions

View File

@@ -232,6 +232,14 @@ nsDateTimeChannel::GetContentType(char* *aContentType) {
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::SetContentType(const char *aContentType)
{
//It doesn't make sense to set the content-type on this type
// of channel...
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP
nsDateTimeChannel::GetContentLength(PRInt32 *aContentLength)
{