File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes User Agent - Maximum Length Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "User Agent - Maximum Length" Watch "User Agent - Maximum Length" New topic

User Agent - Maximum Length

Sam Kumar
Ranch Hand

Joined: Nov 30, 2001
Posts: 38
Anybody know what is the maximum length for "User-Agent" HTTP header.
Thanks in advance.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13024
As I recall, the HTTP standard for headers is in rfc 2616. Type "rfc 2626" into any search engine to find the full document. Right offhand I don't see any reference to a maximum header length
I agree. Here's the link:
subject: User Agent - Maximum Length
It's not a secret anymore!