If you can't read please download the document
Upload
-
View
123
Download
2
Embed Size (px)
Citation preview
HTTP
OSI
HTTP, FTP, SMTP
ASCII, EBCDIC
RPC, PAP
TCP, UDP
IPv4, IPv6
PPP, IEEE 802.2, Ethernet, DSL, ARP, L2TP
, USB, , ,
HTTP/0.9
GET /index.html
GET /account/count_registered/ HTTP/1.1Host: stage.3d4medical.com
HTTP/1.1 200 OKServer: nginx/1.10.0 (Ubuntu)Date: Mon, 26 Sep 2016 13:10:21 GMTContent-Type: text/html; charset=utf-8Transfer-Encoding: chunkedConnection: keep-aliveVary: Accept-EncodingVary: Accept-Language, CookieAccess-Control-Allow-Origin: stage.3d4medical.comContent-Language: enAccept-Encoding: gzip
5365200
HTTP/1.0
GET/POST/HEAD
POST /account/login/ HTTP/1.1Host: stage.3d4medical.comContent-Type: application/x-www-form-urlencodedContent-Length: 38
username=tyvik8%40gmail.com&password=1
HTTP/1.0
HTTP/1.1 200 OKServer: nginx/1.10.0 (Ubuntu)Date: Mon, 26 Sep 2016 13:27:47 GMTContent-Type: application/jsonTransfer-Encoding: chunkedConnection: keep-aliveVary: Accept-EncodingContent-Language: enExpires: Mon, 26 Sep 2016 13:27:47 GMTVary: Accept-Language, CookieLast-Modified: Mon, 26 Sep 2016 13:27:47 GMTsessionid: 328f3n56ebh7uc6sd85c7mt16n0bhkg1Cache-Control: max-age=0Access-Control-Allow-Origin: stage.3d4medical.comSet-Cookie: sessionid=328f3n56ebh7uc6sd85c7mt16n0bhkg1; expires=Sat, 25-Sep-2021 13:27:47 GMT; httponly; Max-Age=157680000; Path=/Set-Cookie: email=; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/Accept-Encoding: gzip
{"user": {"username": "TyVik", "occupation_ids": [], "occupations": [], "last_password_change": null, "address": "", "licenses": {"lecture_maker": true}, "verify_email": true, "joined_date": "2015-09-02 08:14:03", "is_hidden": true, "image_filename": "58/images/avatar.jpeg", "user_id": 58, "limits": {"lectures": -1, "groups": 5, "quizzes": -1, "questions": 200, "plates": 200, "snippets": 50}, "purchase_info": {"upgraded": {"active": false}, "bypass": {"active": true, "expire_dt": "2016-11-01 00:00:00", "expire_ts": "1477958400"}}, "user_image_filename": "58/images/avatar.jpeg", "interest_ids": [], "sessionId": "328f3n56ebh7uc6sd85c7mt16n0bhkg1", "products": {"redeem.com.3D4Medical.CAMac.FullUpgrade": {}, "bypass": {"active": true, "expire_dt": "2016-11-01 00:00:00", "expire_ts": "1477958400"}}, "permissions": {"lecture_maker": false, "embeds_maker": true, "lecture_reviewer": true, "recording_publisher": false}, "email": "[email protected]"}}
HTTP/1.1
IP
Keep-alive
GET
POST
PUT
PATCH
DELETE
HEAD
OPTIONS
1xx Informational
2xx Success
3xx Redirection
4xx Client Error
5xx Server Error
1xx Informational
100 Continue -
101 Switching Protocols
102 Processing ,
2xx Success
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
206 Partial Content
3xx Redirection
300 Multiple Choices
301 Moved Permanently
302 Moved Temporarily
304 Not Modified
305 Use Proxy
4xx Client Error
400 Bad Request ,
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed HTTP
408 Request Timeout
409 Conflict
410 Gone , ( )
413 Request Entity Too Large
414 Request-URI Too Large
416 Requested Range Not Satisfiable
418 I'm a teapot 1998
422 Unprocessable Entity
429 Too Many Requests
431 Request Header Fields Too Large
451 Unavailable For Legal Reasons 451 F
5xx Server Error
500 Internal Server Error
501 Not Implemented -
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
508 Loop Detected
Connection
Max-Forwards
Host
Referer
User-Agent
Upgrade
Server
Location
Retry-After
Age
Alternates
Title
Link
Date
Proxy-Authorization
Warning
From
MIME-Version
Expect
Content-Encoding
Content-Language
Content-Length
Content-Location
Content-MD5
Content-Range (Range)
Content-Type
Content-Version
Accept
Accept-Charset
Accept-Encoding
Accept-Language
Authorization
Accept-Ranges
Allow
If-Match
If-Modified-Since
If-None-Match
If-Range
If-Unmodified-Since
Cache-Control
Etag
Last-Modified
Expires
HTTP/2.0
SSL/TLS