Códigos de estado do protocolo HTTP2011-2012Metodologias de Programação IV
Pedido HTTPGET /tc/home.html HTTP/1.1Host: www.tribunalconstitucional.pt...
Resposta HTTPHTTP/1.1 200 OKContent-Type: text/htmlContent-Length: 9934...
Resposta HTTPHTTP/1.1 200 OKContent-Type: text/htmlContent-Length: 9934...
Resposta HTTPHTTP/1.1 200 OKContent-Type: text/htmlContent-Length: 9934...
www.utad.pt
http://www.utad.pt/pt/index.asp302301200
http://www.utad.pt/qqcoisa.html404 File notfound
http://www.utad.pt/pt/index.asp
www.utad.pt302http://www.utad.pt/pt/index.html301http://www.utad.pt/pt/index.asp200
www.utad.pt302HTTP/1.1 302 Object MovedLocation:	http://www.utad.pt/pt/index.htmlServer: Microsoft-IIS/5.0Content-Type: text/htmlContent-Length: 155
www.utad.pt302http://www.utad.pt/pt/index.html301http://www.utad.pt/pt/index.asp200
HTTP/1.1 404 Object Not FoundServer: Microsoft-IIS/5.0Date: Mon, 10 Oct 2011 16:29:00 GMTConnection: closeContent-Length: 7028Content-Type: text/html
Leituras associadasWeb ApplicationArchitecture, Second EditionCap. 3: “Birth of theWeb: HTTP”, págs. 41 a 44.Secção 10 da especificação do protocolo HTTP:“Status Code Definitions”http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Funcionalidades adicionais: cache, sessões, autenticação e virtual hostingPróxima aula

Metodologias de Programação IV - Aula 3 - Secção 3 - Os códigos de estado do protocolo HTTP