Common Request Headers

The headers you saw in Figures 29.4 and 29.5 represent the most common set of request headers you'll receive. Netscape browsers might also send an Accept-Charset request header.

The Accept Header

The Accept header indicates the kind of content the browser is able to accept. The order of the items is typically the order the browser prefers. In other words, when the browser lists application/msword before application/pdf, it indicates that it prefers MS Word documents to Adobe Acrobat documents (obviously this is a Microsoft browser!). Usually, you'll see */* at the end of the list, indicating that the browser will accept anything, but it prefers those it has already listed.

If you look at the Accept header sent by a wireless ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.