• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Ch24
 

Ch24

on

  • 209 views

 

Statistics

Views

Total Views
209
Views on SlideShare
209
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Ch24 Ch24 Presentation Transcript

    • Chapter 24 Hypertext Transfer Protocol (HTTP)
    • CONTENTS
      • HTTP TRANSACTION
      • REQUEST MESSAGE
      • RESPONSE MESSAGE
      • HEADER
      • EXAMPLES
      • SOME OTHER FEATURES
    • HTTP uses the services of TCP on well-known port 80.
    • HTTP TRANSACTION 24.1
    • Figure 24-1 HTTP transaction
    • Figure 24-2 Message categories
    • 24.2 REQUEST MESSAGE
    • Figure 25-3 Request message
    • Figure 24-4 Request line
    • Figure 24-5 URL
    • RESPONSE MESSAGE 24.3
    • Figure 24-6 Response message
    • Figure 24-7 Status line Status code: Same format as FTP responses (three digits)
    • HEADER 24.4
    • Figure 24-8 Header format
    • Figure 24-9 Headers
    • EXAMPLES 24.5
    • Example 1 This example retrieves a document. We use the GET method to retrieve an image with the path /usr/bin/image1.
    • Figure 24-10 Example 1
    • Example 2 This example retrieves information about a document. We use the HEAD method to retrieve information about an HTML document (see Chapter 25)
    • Figure 24-11 Example 2
    • Example 3 In this example, the client wants to send input data to the server. We use the POST method.
    • Figure 24-12 Example 3
    • SOME OTHER FEATURES 24.6
    • HTTP version 1.1 specifies a persistent connection by default.