Web Science/Part1: Foundations of the web/Hypertext Transfer Protocol/HTTP header

From Wikiversity
Jump to navigation Jump to search

HTTP header

Learning goals

no learning goals defined
You can define learning goals here.
In general you can use the edit button in the upper right corner of a section to edit its content.



1 How is the end of the HTTP header defined

By an empty line
By the following character string: "\r\n\r\n"
The http header always has a fixed length
There is a header field length which specifies the length of the header
The End of the Header is marked by the String "HEADER_END"

2 What is the Structure of all but the first lines of the header

Just values according to the header field
Key value pairs
the order of the lines is not specified by the protocol
lines have to end with a Semicolon ";"

3 What ways do you know of for looking at the HTTP response header?

Most browsers have tools for accessing them
There is a logfile which saves all the received http headers
Making a telnet request
Using Wget
google search history
Using Wireshark