Comment 70 for bug 25830

Revision history for this message
In , Rggammon (rggammon) wrote :

I'm trying to address this bug through a mozdev.org project based around a
nsIHttpNotify component.

I'm trying to change the content type in nsIHttpNotify::OnExamineResponse via a
call to nsHttpChannel::SetResponseHeader("Content-Type", ...)

This is explicity blocked in nsHttpChannel.cpp:2734 (returns NS_ERROR_ILLEGAL_VALUE)

Any chance of getting a patch accepted that would change this behavior?