Escolar Documentos
Profissional Documentos
Cultura Documentos
Protocolo HTTP
Redes de
Computadores II
Prof. Ms. Claudio Souza
Nunes Bacharelado em
Sistemas de Informação
UNISANTA Graduação
História - World Wide Web
URN x URI
Exemplo: http://www.globo.com/conteudo.html
UNISANTA Graduação
Exemplo
Protocolo HTTP
• Modelo cliente/servidor.
http://www.unisanta.br
http://www.unisanta.br
REQUEST
RESPONSE
UNISANTA Graduação
HTTP – Características
Não-Persistentes Persistentes
Resposta HTTP
UNISANTA Graduação
Resposta HTTP
HTTP/1.1 200 OK
[ Linha em branco ]
Connection: Keep-Alive
Transfer-Encoding: chunked <!DOCTYPE html>
Date: Mon, 10 Jul 2017 18:04:53 GMT <html lang="pt-br">
<head>
Content-Type: text/html; charset=utf-8 <meta charset="utf-8" />
Server: Kestrel <meta http-equiv="Content-
Language" content="pt-br">
Cache-Control: no-store,no-cache <meta name="viewport"
Pragma: no-cache content="width=device-width, initial-
scale=1.0, maximum-scale=1.0, user-
X-Powered-By: ASP.NET scalable=no" />
Content-Encoding: gzip <meta http-equiv="content-
language" content="pt-br" />
Vary: Accept-Encoding
UNISANTA Graduação
Erros do Servidor
5YZ
500 Server Error
UNISANTA Graduação
IF-MODIFIED-
Permite recuperação condicional.
SINCE
Date
Server
Last-Modified
Content-Type
Content-Lenght
Keep-Alive
Connection
User-Agent
Accept-Encoding