You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.


Class Overview

This document provides an overview of the classes used by the Mozilla HTTP implementation. It's meant as a guide to developers wishing to understand or extend the Mozilla HTTP implementation.


  • implements nsIProtocolHandler
  • manages preferences
  • owns the authentication cache
  • holds references to frequently used services
  • implements nsIHttpChannel
  • talks to the cache
  • initiates http transactions
  • processes http response codes
  • intercepts progress notifications
nsHttpConnection nsHttpConnectionInfo
  • identifies a connection
  • implements nsIRequest
  • encapsulates a http request and response
  • parses incoming data
  • owned by a transaction
  • strips chunked transfer encoding
  • owns a nsHttpHeaderArray
  • knows how to fill a request buffer
  • owns a nsHttpHeaderArray
  • knows how to parse response lines
  • performs common header manipulations/calculations
  • stores http "<header>:<value>" pairs
  • stores authentication credentials for http auth domains
nsHttpBasicAuth nsHttpDigestAuth