Re: How to intercept XMLHttpRequests, including headers and responses?
"Pang Wangshu" <email@example.com> wrote in message news:firstname.lastname@example.org...
> [Subject: How to intercept XMLHttpRequests, including headers and responses?]
Try using Fiddler2 and its session capture facility?
BTW a better site for looking for help with IE development issues
is the MSDN forum.
BTW2: please try to avoid posting from Google Groups with Quoted Printable. It is possible somehow because I have seen others
I am working in a crawler project. My job is to capture asynchronous
requests and responses sent by XMLHttpRequest (XHR). I need to work
out a solution, which receives a URL and automatically intercept Ajax
requests and corresponding responses. This feature is particular
necessary in video hosting website, for considerable information, such
as Comments List and Play Count, are transferred asynchronously. I can
use either IEs approach or Firefox (Gecko)s approach.
Ive tried APP Control in the control csExWB. But data is
insufficient, lacking of POST data and responses body. And in its
higher version (v220.127.116.11), two key events DownloadRequestAsynch and
DownloadRequestSynch do not work properly in my environment (Windows
XP SP3, Internet Explorer 8).
Although Geckos open source approach has lots of merits, however,
quite a lot of documents in MDC have been out of date, and therefore I
can hardly find helpful materials. So I incline to probe further into
the ComUtilities, changing part of them to implement the feature.
Anyone could help me? Explain the overall structure of the Com
project, and tell me where to start with. Thanks very much.