This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "User Agent - Maximum Length" Watch "User Agent - Maximum Length" New topic
Author

User Agent - Maximum Length

Sam Kumar
Ranch Hand

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

Joined: Mar 22, 2000
Posts: 12761
    
    5
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
Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: User Agent - Maximum Length
 
Similar Threads
Jsp Get BrowserType
maximum length of String = 32k ?
Max length of select statement
File Upload
How long can User-Agent String be?