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?
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: :OnExamineRespo nse via a :SetResponseHea der("Content- Type", ...)
call to nsHttpChannel:
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?