Examining AJAX HTTP requests using Web Inspector
Is there an easy way to examine the HTTP GET/POST/OPTIONS/HEAD etc requests being m开发者_Python百科ade by jquery ajax calls using WebKit's Web Inspector? I'm hand crafting responses and am looking for a simple way to monitor the back and forth traffic.
The Resources tab will show Request/Response headers and the response itself. Were you looking for something else? Using "Sort by Start Time" is probably the most useful setting for watching new requests.
You could also use Firebug (a Firefox plugin) or a sniffer like Wireshark (here some example filters for Wireshark).
I'm not sure that WebInspector is designed to do what you are asking.
I use tcpTrace from PocketSoap. I set my web browser up to use tcpTrace as a proxy. It records all of the traffic going back and forth. Its pretty slick.
精彩评论