According this document: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1 Accept header is built as:
Accept = "Accept" ":"
#( media-range [ accept-params ] )
media-range = ( "*/*"
| ( type "/" "*" )
| ( type "/" subtype )
) *( ";" parameter )
accept-params = ";" "q" "=" qvalue *( accept-extension )
accept-extension = ";" token [ "=" ( token | quoted-string ) ]
A sample:
Accept: text/plain; q=0.5, text/html,
text/x-dvi; q=0.8, text/x-c
I think there could be many combinations... is there a fixed number of possible combinations that make Accept header max length able to be calculated?
or there are many combinations and it is better to store it as VARCHAR(MAX) in a database column?