http://ABC.com/%7Esmith/home.html
http://ABC.com:/%7esmith/home.html
All labels Date / Time HTTP Must be represented in Greenwich Mean Time (GMT), without exception. HTTP applications are allowed to use the following 3 representative labels Date / Time:
Sun, 06 Nov 1994 08:49:37 GMT; RFC 822, updated by RFC 1123
Sunday, 06-Nov-94 08:49:37 GMT; RFC 850, obsoleted by RFC 1036
Sun Nov 6 08:49:37 1994; ANSI C's asctime () format
We use character sets to determine the character settings that the client likes. Many character sets can be listed separately by commas. If a value is not specified, the default is US-ASII.
For example
Below are valid character sets:
US-ASCII
or
ISO-8859-1
or
ISO-8859-7
A content encryption value indicates that an encryption algorithm has been used to encrypt the content before passing it to the network. Content encryption is first used to allow a document to be compressed or in addition to be transmitted without misidentification.
All content encoding values are case-insensitive. HTTP / 1.1 uses content encoding values in Accept-Encoding and Content-Encoding Header fields that we will look at in the next chapters.
For example
Below are valid encryption schemes:
Accept-encoding: gzip
or
Accept-encoding: compress
or
Accept-encoding: deflate
HTTP uses Internet Media Types in Content-Type and Accept fields to provide open and expandable data. All media type values are registered with IANA (Internet Assigned Number Authority). The general syntax for specifying the media type is as follows:
media-type = type "/" subtype * (";" parameter)
Type, subtype, and parameter attributes are case-insensitive.
For example
Accept: image / gif
HTTP uses language tags in the Accept-Language and Content-Language fields. A language tag consists of one or more sections: A primary language card and a series of sub-tags:
language-tag = primary-tag * ("-" subtag)
Spaces are not allowed in the card and all tags are case-insentive.
For example
Example tags include:
en, en-US, en-cockney, i-cherokee, x-pig-latin
The two primary-tag words are an abbreviation for the language in ISO-639 and the first two characters in the subtag are the country code.
According to Tutorialspoint
Previous post: What is HTTP
Next post: Message in HTTP