Discussion:
204 No Content
(too old to reply)
c***@hotmail.com
2005-01-14 07:13:46 UTC
Permalink
Does anyone know how to properly handle the HTTP status code 204 in an
Async. Pluggable Protocol? On receiving the message MSHTML is supposed
to retain the current document, instead of throwing up a blank screen.
Passing the status code to IHttpNegotiate::OnResponse and
IInternetProtocolSink::ReportResult doesn't seem to be sufficient.
c***@hotmail.com
2005-01-15 23:01:38 UTC
Permalink
Ok, I figured it out myself, with help from Igor's PassThruAPP. MSHTML
gets the status code from IWinInetHttpInfo::QueryInfo. Took me a while
to figure out why it's not query for the interface. Per another of
Igor's post, APP doesn't work correctly without aggregation support.
UrlMon apparently aggregate your protocol object and makes it part of
the moniker that MSHTML gets.
w***@gmail.com
2015-07-02 05:47:09 UTC
Permalink
Post by c***@hotmail.com
Does anyone know how to properly handle the HTTP status code 204 in an
Async. Pluggable Protocol? On receiving the message MSHTML is supposed
to retain the current document, instead of throwing up a blank screen.
Passing the status code to IHttpNegotiate::OnResponse and
IInternetProtocolSink::ReportResult doesn't seem to be sufficient.
Hi, can you elaborate how you solved this?

Loading...