Questions about PassthruAPP
- From: Andrew Yao <andrewyao@xxxxxxxxx>
- Date: Fri, 28 Jul 2006 00:56:20 -0700
I am studying the PassthruAPP written by Igor, and I came across a couple of questions, wondering if anyone can help me.
1. During a HTTP 302 redirect, ReportProgress is called with status code equals to BINDSTATUS_REDIRECTING, is it possible to change the HTTP header at this point?
In our custom protocol, we need to send a monotonic-increasing id in the header along with every HTTP request, and I want to send different values for the original request and the redirected request.
2. In the above case, Is IInternetProtocolSink::ReportProgress called asynchronously? ie. Is it in the direct path of the redirected HTTP request?
3. In IHttpNegotiate::OnResponse, is there a way to differentiate between HTTP 304 (Not Modified) network response vs a local cache response?
I tried querying using QUERY_IS_CACHED or INTERNET_REQFLAG_FROM_CACHE, but I cannot seem to differentiate between the above two cases.
many thanks
Andrew
.
- Follow-Ups:
- Re: Questions about PassthruAPP
- From: Igor Tandetnik
- Re: Questions about PassthruAPP
- Prev by Date: SSL keystore in IE
- Next by Date: PassthruAPP - requests coming from which window ?
- Previous by thread: SSL keystore in IE
- Next by thread: Re: Questions about PassthruAPP
- Index(es):
Relevant Pages
|
|