WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIViewSourceChannel

IID:8b77d6e2-2ae9-11d5-be57-000064657374
Inherits From:nsIChannel

Properties

ACString originalContentType

The actual (MIME) content type of the data.

NsIViewSourceChannel returns a content type of "application/x-view-source" if you ask it for the contentType attribute.

However, callers interested in finding out or setting the actual content type can utilize this attribute.

Reference documentation is generated from Mozilla's source.