SlideShare una empresa de Scribd logo
1 de 20
Application Layer
Afsana Begum
Functions of this layer
 The application layer is responsible for
providing services to the user.
 It enables the user, whether human or
software, to access the network.
 Services Provided are:
 File transfer, access & management
 Mail services
 Directory services
Domain
Name
System
1/29/2023
IPAddress:
Domain Name Space
Domain Name
1/29/2023
173.194.203.106
https://www.google.com/
Domain name space (Hierarchical)
1st step: write www.abc.com, request will go to “resolver”
2nd step: request will go from resolver to root server (13 root
server available), root server reply to resolver
3rd step: request will go from resolver to Generic server/Country
server, (TLD-Top Level Domain) it will reply to resolver
4th step: request will go from resolver to Authoritative server
(crickinfo), Authoritative server will reply to resolver with specific
IP.
5th step: Resolver will go to the specific IP hosted server.
1/29/2023
February
2003
slideset 1 -6
Concept: Resolving process &
Cache
Resolver
Question: www.ripe.net
A
www.ripe.net A ?
Caching
forwarder
(recursive)
root-server
www.ripe.net A ?
Ask net server @ X.gtld-servers.net (+ glue)
gtld-server
www.ripe.net A ?
Ask ripe server @ ns.ripe.net (+ glue)
ripe-server
www.ripe.net A ?
192.168.5.10
192.168.5.10
Add to cache
HTTP
7
HTTP
O Protocol for transfer of various data
formats between server and client
O Plaintext
O Hypertext
O Images
O Video
O Sound
O Meta-information also transferred
HTTP
8
Uniform Resources
O URI
O Uniform Resource Identifier
O Collection of URL’s and URN’s
HTTP
Uniform Resources
O URL
O Uniform Resource Locator
O Refers to an existing protocol
O http:, wais:, ftp:, mailto:, gopher:, news:
O Points to a document on a specific server
O URN
O Uniform Resource Name
O Globally unique, persistent identifier
O Independent of location
(For more detail:
https://en.wikipedia.org/wiki/Uniform_Resource
_Name)
HTTP
10
URL and HTTP
O All parts of URL, except parameters, used
with http
O Port can be omitted so long as referenced
host is running on port listed in your
/etc/services file
O Usually port 80
HTTP
11
Communication
O Server tells client what type of information
is coming before information arrives
O File extensions
O .html .htm
O .txt
O .ps
O .au
O .gif .tiff .jpeg
O .mpeg
O .vrml .wrl
O .java
HTTP
12
HTTP 1.0
O Defines request-response conversation
O Server replies with response
O http specifies syntax
O Does not handle network connectivity or
how information is transmitted
O TCP/IP does this
HTTP
13
HTTP 1.0
O HTTP request
O Method
O URI
O Protocol version
O Optional other information
O Method [Request URI] HTTP/1.0 <CRLF>
HTTP
14
HTTP 1.0
O Method
O Get
O Returns object
O Head
O Returns information about object
O Post
O Sends information to be stored on server or
as input to script
HTTP
15
HTTP 1.0
O Method
O Put
O Sends new copy of existing object to server
O Usually not allowed
O Delete
O Deletes object
O Usually not allowed
HTTP
16
HTTP 1.0
O Other information
O Authorization
O User password
GET /X/Y/Z.HTML HTTP 1.0
User Agent: Prodigy-WB/1.3e
Accept: text/plain
Accept: text/html
Accept: application/postscript
Accept: image/gif
O Accept: */*
HTTP
17
HTTP 1.0
O HTTP response
O Status line
O HTTP-version Status-code Reason
O Status-codes 1xx - Informational
O Reserved for future use
HTTP
18
HTTP 1.0
O HTTP response
O Status line
O Status-codes 2xx - Success
O The action was successfully received,
understood, and accepted
O 200 OK
O 201 POST command successful
O 202 Request accepted
O 203 GET or HEAD request fulfilled
O 204 No content
HTTP
19
HTTP 1.0
O HTTP response
O Status line
O Status-codes 3xx - Redirection
O Further action must be taken in order to
complete request
O 300 Resource found at multiple
locations
O 301 Resource moved permanently
O 302 Resource moved temporarily
O 304 Resource has not modified (since date)
HTTP
20
HTTP 1.0
O HTTP response
O Status line
O Status-codes 4xx - Client error
O The request contains bad syntax or cannot be
fulfilled
O 400 Bad request from client
O 401 Unauthorized request
O 402 Payment required for request
O 403 Resource access forbidden
O 404 Resource not found
O 405 Method not allowed for resource
O 406 Resource type not acceptable

Más contenido relacionado

Similar a Lecture_9_Application-Layer.pptx

Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
Rajan Pandey
 
Serverless (Distributed computing)
Serverless (Distributed computing)Serverless (Distributed computing)
Serverless (Distributed computing)
Sri Prasanna
 
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
ZahouAmel1
 
ftp.07f.ppt
ftp.07f.pptftp.07f.ppt
ftp.07f.ppt
aozcan1
 
Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014
Navaneethan Naveen
 
Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networks
hariprasadnr
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)
webhostingguy
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)
webhostingguy
 

Similar a Lecture_9_Application-Layer.pptx (20)

Unit 6 : Application Layer
Unit 6 : Application LayerUnit 6 : Application Layer
Unit 6 : Application Layer
 
Application layer
Application layerApplication layer
Application layer
 
Ch2 the application layer protocols_http_3
Ch2 the application layer protocols_http_3Ch2 the application layer protocols_http_3
Ch2 the application layer protocols_http_3
 
Http
HttpHttp
Http
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
Performance #4 network
Performance #4  networkPerformance #4  network
Performance #4 network
 
Serverless (Distributed computing)
Serverless (Distributed computing)Serverless (Distributed computing)
Serverless (Distributed computing)
 
Http-protocol
Http-protocolHttp-protocol
Http-protocol
 
Appl layer
Appl layerAppl layer
Appl layer
 
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
 
ftp.07f.ppt
ftp.07f.pptftp.07f.ppt
ftp.07f.ppt
 
application layer protocol for iot.pptx
application layer protocol for iot.pptxapplication layer protocol for iot.pptx
application layer protocol for iot.pptx
 
Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014
 
Lec 6(Application Layer)
Lec 6(Application Layer)Lec 6(Application Layer)
Lec 6(Application Layer)
 
Web server
Web serverWeb server
Web server
 
Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networks
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)
 
OSI (Open System Interconnection) Model
OSI (Open System Interconnection) Model OSI (Open System Interconnection) Model
OSI (Open System Interconnection) Model
 

Último

➥🔝 7737669865 🔝▻ pathankot Call-girls in Women Seeking Men 🔝pathankot🔝 Esc...
➥🔝 7737669865 🔝▻ pathankot Call-girls in Women Seeking Men  🔝pathankot🔝   Esc...➥🔝 7737669865 🔝▻ pathankot Call-girls in Women Seeking Men  🔝pathankot🔝   Esc...
➥🔝 7737669865 🔝▻ pathankot Call-girls in Women Seeking Men 🔝pathankot🔝 Esc...
nirzagarg
 
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men 🔝Asansol🔝 Escorts...
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men  🔝Asansol🔝   Escorts...➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men  🔝Asansol🔝   Escorts...
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men 🔝Asansol🔝 Escorts...
amitlee9823
 
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
nirzagarg
 
CELLULAR RESPIRATION. Helpful slides for
CELLULAR RESPIRATION. Helpful slides forCELLULAR RESPIRATION. Helpful slides for
CELLULAR RESPIRATION. Helpful slides for
euphemism22
 
➥🔝 7737669865 🔝▻ Bhiwandi Call-girls in Women Seeking Men 🔝Bhiwandi🔝 Escor...
➥🔝 7737669865 🔝▻ Bhiwandi Call-girls in Women Seeking Men  🔝Bhiwandi🔝   Escor...➥🔝 7737669865 🔝▻ Bhiwandi Call-girls in Women Seeking Men  🔝Bhiwandi🔝   Escor...
➥🔝 7737669865 🔝▻ Bhiwandi Call-girls in Women Seeking Men 🔝Bhiwandi🔝 Escor...
amitlee9823
 
FULL NIGHT — 9999894380 Call Girls In Jagat Puri | Delhi
FULL NIGHT — 9999894380 Call Girls In Jagat Puri | DelhiFULL NIGHT — 9999894380 Call Girls In Jagat Puri | Delhi
FULL NIGHT — 9999894380 Call Girls In Jagat Puri | Delhi
SaketCallGirlsCallUs
 
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
amitlee9823
 
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
amitlee9823
 
Just Call Vip call girls Kovalam Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Kovalam Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Kovalam Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Kovalam Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
ELECTRICITÉ TMT 55.pdf electrick diagram manitout
ELECTRICITÉ TMT 55.pdf electrick diagram manitoutELECTRICITÉ TMT 55.pdf electrick diagram manitout
ELECTRICITÉ TMT 55.pdf electrick diagram manitout
ssjews46
 
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
gajnagarg
 
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
gajnagarg
 
VVIP Mumbai Call Girls Mumbai Central Call On 9920725232 With Elite Staff And...
VVIP Mumbai Call Girls Mumbai Central Call On 9920725232 With Elite Staff And...VVIP Mumbai Call Girls Mumbai Central Call On 9920725232 With Elite Staff And...
VVIP Mumbai Call Girls Mumbai Central Call On 9920725232 With Elite Staff And...
amitlee9823
 
Call Girls Kanakapura Road Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Kanakapura Road Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Kanakapura Road Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Kanakapura Road Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
Call Girls Hongasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Hongasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Hongasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Hongasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
amitlee9823
 
Vip Mumbai Call Girls Panvel Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Panvel Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Panvel Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Panvel Call On 9920725232 With Body to body massage wit...
amitlee9823
 

Último (20)

➥🔝 7737669865 🔝▻ pathankot Call-girls in Women Seeking Men 🔝pathankot🔝 Esc...
➥🔝 7737669865 🔝▻ pathankot Call-girls in Women Seeking Men  🔝pathankot🔝   Esc...➥🔝 7737669865 🔝▻ pathankot Call-girls in Women Seeking Men  🔝pathankot🔝   Esc...
➥🔝 7737669865 🔝▻ pathankot Call-girls in Women Seeking Men 🔝pathankot🔝 Esc...
 
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men 🔝Asansol🔝 Escorts...
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men  🔝Asansol🔝   Escorts...➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men  🔝Asansol🔝   Escorts...
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men 🔝Asansol🔝 Escorts...
 
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
 
Dubai Call Girls R0yalty O525547819 Call Girls Dubai
Dubai Call Girls R0yalty O525547819 Call Girls DubaiDubai Call Girls R0yalty O525547819 Call Girls Dubai
Dubai Call Girls R0yalty O525547819 Call Girls Dubai
 
CELLULAR RESPIRATION. Helpful slides for
CELLULAR RESPIRATION. Helpful slides forCELLULAR RESPIRATION. Helpful slides for
CELLULAR RESPIRATION. Helpful slides for
 
➥🔝 7737669865 🔝▻ Bhiwandi Call-girls in Women Seeking Men 🔝Bhiwandi🔝 Escor...
➥🔝 7737669865 🔝▻ Bhiwandi Call-girls in Women Seeking Men  🔝Bhiwandi🔝   Escor...➥🔝 7737669865 🔝▻ Bhiwandi Call-girls in Women Seeking Men  🔝Bhiwandi🔝   Escor...
➥🔝 7737669865 🔝▻ Bhiwandi Call-girls in Women Seeking Men 🔝Bhiwandi🔝 Escor...
 
FULL NIGHT — 9999894380 Call Girls In Jagat Puri | Delhi
FULL NIGHT — 9999894380 Call Girls In Jagat Puri | DelhiFULL NIGHT — 9999894380 Call Girls In Jagat Puri | Delhi
FULL NIGHT — 9999894380 Call Girls In Jagat Puri | Delhi
 
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
 
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
Sanjay Nagar Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalor...
 
Just Call Vip call girls Kovalam Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Kovalam Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Kovalam Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Kovalam Escorts ☎️9352988975 Two shot with one girl ...
 
ELECTRICITÉ TMT 55.pdf electrick diagram manitout
ELECTRICITÉ TMT 55.pdf electrick diagram manitoutELECTRICITÉ TMT 55.pdf electrick diagram manitout
ELECTRICITÉ TMT 55.pdf electrick diagram manitout
 
Is Your BMW PDC Malfunctioning Discover How to Easily Reset It
Is Your BMW PDC Malfunctioning Discover How to Easily Reset ItIs Your BMW PDC Malfunctioning Discover How to Easily Reset It
Is Your BMW PDC Malfunctioning Discover How to Easily Reset It
 
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
 
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
 
VVIP Mumbai Call Girls Mumbai Central Call On 9920725232 With Elite Staff And...
VVIP Mumbai Call Girls Mumbai Central Call On 9920725232 With Elite Staff And...VVIP Mumbai Call Girls Mumbai Central Call On 9920725232 With Elite Staff And...
VVIP Mumbai Call Girls Mumbai Central Call On 9920725232 With Elite Staff And...
 
Call Girls Kanakapura Road Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Kanakapura Road Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Kanakapura Road Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Kanakapura Road Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Call Girls Hongasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Hongasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Hongasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Hongasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
 
FARIDABAD CALL GIRL Anal shot #8168257667 BOOK Shilpa 7999/-
FARIDABAD  CALL GIRL Anal shot #8168257667  BOOK Shilpa 7999/-FARIDABAD  CALL GIRL Anal shot #8168257667  BOOK Shilpa 7999/-
FARIDABAD CALL GIRL Anal shot #8168257667 BOOK Shilpa 7999/-
 
Vip Mumbai Call Girls Panvel Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Panvel Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Panvel Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Panvel Call On 9920725232 With Body to body massage wit...
 

Lecture_9_Application-Layer.pptx

  • 2. Functions of this layer  The application layer is responsible for providing services to the user.  It enables the user, whether human or software, to access the network.  Services Provided are:  File transfer, access & management  Mail services  Directory services
  • 4. IPAddress: Domain Name Space Domain Name 1/29/2023 173.194.203.106 https://www.google.com/
  • 5. Domain name space (Hierarchical) 1st step: write www.abc.com, request will go to “resolver” 2nd step: request will go from resolver to root server (13 root server available), root server reply to resolver 3rd step: request will go from resolver to Generic server/Country server, (TLD-Top Level Domain) it will reply to resolver 4th step: request will go from resolver to Authoritative server (crickinfo), Authoritative server will reply to resolver with specific IP. 5th step: Resolver will go to the specific IP hosted server. 1/29/2023
  • 6. February 2003 slideset 1 -6 Concept: Resolving process & Cache Resolver Question: www.ripe.net A www.ripe.net A ? Caching forwarder (recursive) root-server www.ripe.net A ? Ask net server @ X.gtld-servers.net (+ glue) gtld-server www.ripe.net A ? Ask ripe server @ ns.ripe.net (+ glue) ripe-server www.ripe.net A ? 192.168.5.10 192.168.5.10 Add to cache
  • 7. HTTP 7 HTTP O Protocol for transfer of various data formats between server and client O Plaintext O Hypertext O Images O Video O Sound O Meta-information also transferred
  • 8. HTTP 8 Uniform Resources O URI O Uniform Resource Identifier O Collection of URL’s and URN’s
  • 9. HTTP Uniform Resources O URL O Uniform Resource Locator O Refers to an existing protocol O http:, wais:, ftp:, mailto:, gopher:, news: O Points to a document on a specific server O URN O Uniform Resource Name O Globally unique, persistent identifier O Independent of location (For more detail: https://en.wikipedia.org/wiki/Uniform_Resource _Name)
  • 10. HTTP 10 URL and HTTP O All parts of URL, except parameters, used with http O Port can be omitted so long as referenced host is running on port listed in your /etc/services file O Usually port 80
  • 11. HTTP 11 Communication O Server tells client what type of information is coming before information arrives O File extensions O .html .htm O .txt O .ps O .au O .gif .tiff .jpeg O .mpeg O .vrml .wrl O .java
  • 12. HTTP 12 HTTP 1.0 O Defines request-response conversation O Server replies with response O http specifies syntax O Does not handle network connectivity or how information is transmitted O TCP/IP does this
  • 13. HTTP 13 HTTP 1.0 O HTTP request O Method O URI O Protocol version O Optional other information O Method [Request URI] HTTP/1.0 <CRLF>
  • 14. HTTP 14 HTTP 1.0 O Method O Get O Returns object O Head O Returns information about object O Post O Sends information to be stored on server or as input to script
  • 15. HTTP 15 HTTP 1.0 O Method O Put O Sends new copy of existing object to server O Usually not allowed O Delete O Deletes object O Usually not allowed
  • 16. HTTP 16 HTTP 1.0 O Other information O Authorization O User password GET /X/Y/Z.HTML HTTP 1.0 User Agent: Prodigy-WB/1.3e Accept: text/plain Accept: text/html Accept: application/postscript Accept: image/gif O Accept: */*
  • 17. HTTP 17 HTTP 1.0 O HTTP response O Status line O HTTP-version Status-code Reason O Status-codes 1xx - Informational O Reserved for future use
  • 18. HTTP 18 HTTP 1.0 O HTTP response O Status line O Status-codes 2xx - Success O The action was successfully received, understood, and accepted O 200 OK O 201 POST command successful O 202 Request accepted O 203 GET or HEAD request fulfilled O 204 No content
  • 19. HTTP 19 HTTP 1.0 O HTTP response O Status line O Status-codes 3xx - Redirection O Further action must be taken in order to complete request O 300 Resource found at multiple locations O 301 Resource moved permanently O 302 Resource moved temporarily O 304 Resource has not modified (since date)
  • 20. HTTP 20 HTTP 1.0 O HTTP response O Status line O Status-codes 4xx - Client error O The request contains bad syntax or cannot be fulfilled O 400 Bad request from client O 401 Unauthorized request O 402 Payment required for request O 403 Resource access forbidden O 404 Resource not found O 405 Method not allowed for resource O 406 Resource type not acceptable

Notas del editor

  1. 6