Matthew Wilson wrote:
And then the converter creates a new nsIChannel with the correct
content type, and passes that to the listener which the converter
recieved during AsyncConvertData - is that right?

Well, it doesn't necessarily create a new channel. It may SetContentType on the old channel instead. But yes, it passes the converted data to the listener it got during AsyncConvertData.


The key here is that it needs to pass an nsIInputStream with the converted data to the listener.

If so then I must be doing something wrong, I suppose. All my methods
are being called but I'm not seeing anything coming out.

You're just implementing the converter, right?


And you're calling OnStartRequest/OnDataAvailable/OnStopRequest on your listener? And passing it the converted data?

-Boris
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to