Re: View Source for HTTP and HTML
Erik van der Poel <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout,gmane.comp.mozilla.devel.netlib,gmane.comp.mozilla.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Just for your info: This tool stopped working when the server was switched to Linux (and the tool could not be compiled on Linux). I have now ported it to Linux and also made it available at http://sniffuri.org/ Erik Erik van der Poel wrote: > An HTTP and HTML source viewer has been made available on mozilla.org. > This is somewhat similar to the browser's View Source feature, but it > also shows you the HTTP response headers that immediately preceed the > HTML document in the data stream: > > http://webtools.mozilla.org/web-sniffer/ > > The HTTP and HTML streams are parsed and colored, and URLs are turned > into live links, so that you can click on them to view the source of > that object. > > Also, non-ASCII characters are shown in hex and in red, with a little > 'x' before the hex code. This makes it easy to track down character > encoding issues. > > The tool happens to be written in C, and its source is available under > mozilla/webtools/web-sniffer. There is a READ-ME.txt there too. > > Enjoy, > > Erik