Welcome to ALLHTTP.com
Welcome to ALLHTTP.com
Now, the mysteries of HTTP communications de-mystified!

How to capture HTTP header data

This article explains how to capture or trace HTTP Headers (HTTP trace) using Interceptor.

If you are writing software that directly access HTTP servers, oreven if you are creating a PHP, ASP or Java web application, at some stage you may need to knowwhat is being sent and returned in the HTTP headers.

First some background, skip this if you are an expert.
There are two types of http header to consider in a normal web application:

Note:  <CRLF> represents the Carriage returnLine feed sequence, and is actually bytes 13 and 10 (decimal)

For an exhaustive explanation of the HTTP protocol goto http://www.faqs.org/rfcs/rfc2616

 

We make a tool called HTTP Interceptor that sits between you browser (orother client app), and the internet, that intercepts and displays the two way trafficbetween client and server. There is a minimal online help page for it at: interceptor help you can download the free version here

Basically, set up Interceptor and a browser as shown in the help file, andthen press start - you should get the 'Active' message. If you use IE as  your mainbrowser, I recommend using NetScape 7  as your debugging browser because you canleave IE connected direct to the Internet, and have NetScape connected via its own proxysettings to Interceptor.

Now simply point your intercepted browser at a website, and you will seethe response and requests fly by! If you have the URL tracking turned on, (which is thedefault) you will see in [square brackets] which request generated which response. This isuseful because most browsers are multi threaded and the responses come back intersplicedwith each other - its a mess.

Here is a screen shot of what to expect:

 

 

http interceptor (24433 bytes)

 


Author Mark Ravelle - CEO Siliconwold.com

 

mag_glass.gif (1039 bytes) HTTP Interceptor. Download demo for free, andregister later to enable full functionality.

            Download Interceptor.zip latest version  Register for full version

For windows 98/2000/XP/NT4 (may work on NT3.51 and 95 but not supported)

Get online help for Interceptor   

Check out our other products



View http view asp view JavaScript. View http headers. View interactive and view dataheaders. View responses. Header view application.