Vai al contenuto

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

Da Wikiversità, l'apprendimento libero.

HTTP header

Obiettivi di apprendimento

nessun obbiettivo di apprendimento definito
Tu puoi definire gli obiettivi di apprendimento qui.
In generale puoi usare il bottone di modifica nell'angolo in alto a destra di una sezione per modificarne il contenuto.

Video

Quiz

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

Discussioni