Weitere ähnliche Inhalte
Ähnlich wie Client–server model
Ähnlich wie Client–server model (20)
Kürzlich hochgeladen (20)
Client–server model
- 9. HTTP Request
GET / HTTP/1.1
Host: twitter.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
- 10. HTTP Response
HTTP/1.1 200 OK
Status: 200 OK
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified: Tue, 30 Oct 2012 17:46:41 GMT
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Content-Length: 1433
<!DOCTYPE html>
<html lang="ru" >
<head>
<meta charset="utf-8">..........
- 12. Cookies
Response
HTTP/1.1 200 OK
.....
Set-Cookie: auth_token=0fbea971df476d646c8aa2ad231d8cd1eb49c82b;
domain=.twitter.com; path=/; expires=Sat, 30-Oct-2032 18:12:41 GMT;
Request
POST /sessions HTTP/1.1
Host: twitter.com
....
Cookie: k=10.35.63.137.1351618545902939;