Content-Type with charset only
I came across this interesting header: Content-Type: charset=utf-8 Set HTTP header to UTF-8 using PHP The answerer says that this syntax is defined by RFC 2616 , but I am not seeing it in the provided link. Is this valid syntax, and if so where specifically is this defined? The production in RFC 2616 for the Content-Type header is this: Content-Type = "Content-Type" ":" media-type And the media-type production is this: media-type = type "/" subtype *( ";" parameter ) type = token subtype = token That says that while the parameter part (e.g., charset=utf-8 is optional, the type "/" subtype part