SlideShare a Scribd company logo
Hypertext Transport Protocol
TEAM MEMBERS:
Allu Harshita-34
P.Aishwarya -39
P.Hrudaya sai bhavani -47
M.Tejasri -18
P.Sowmya -17
HTTP
• Hypertext Transport Protocol
• Language of the Web
– protocol used for communication between web
browsers and web servers
• TCP port 80
• RFC 2616
URI,URN,URL
• Uniform Resource Identifier
– Information about a resource
• Uniform Resource Name
– The name of the resource with in a namespace
• Uniform Resource Locator
– How to find the resource, a URI that says how
to find the resource
HTTP - URLs
• URL
– Uniform Resource Locator
• protocol (http, ftp, news)
• host name (name.domain name)
• port (usually 80 but many on 8080)
• directory path to the resource
• resource name
– http://xxx.myplace.com/www/index.html
– http://xxx.myplace.com:80/cgi-bin/t.exe
HTTP - methods
• Methods
– GET
• retrieve a URL from the server
– simple page request
– run a CGI program
– run a CGI with arguments attached to the URL
– POST
• preferred method for forms processing
• run a CGI program
• parameterized data in sysin
• more secure and private
HTTP - methods
• Methods
– PUT
• Used to transfer a file from the client to the server
– HEAD
• requests URLs status header only
• used for conditional URL handling for performance
enhancement schemes
– retrieve URL only if not in local cache or date is more
recent than cached copy
HTTP Request Packets
• Sent from client to server
• Consists of HTTP header
– header is hidden in browser environment
– contains:
• content type / mime type
• content length
• user agent - browser issuing request
• content types user agent can handle
• and a URL
HTTP Request Headers
• Precede HTTP Method requests
• headers are terminated by a blank line
• Header Fields:
– From
– Accept
– Accept-Encoding
– Accept Language
HTTP Request Headers
– Referer
– Authorization
– Charge-To
– If-Modified-Since
– Pragma
From:
• In internet mail format, the requesting user
• Does not have to correspond to requesting
host name (might be a proxy)
• should be a valid e-mail address
Accept:
– List of schemes which will be accepted by client
– <field> = Accept: <entry> * [,<entry>]
– <entry> = <content type> *[;<param>]
– <param> = <attr> = <float>
– <attr> = q / mxs / mxb
– <float> = <ANSI-C floating point >
– Accept: text/html
– Accept: audio/basic q-1
– if no Accept is found; plain/text is assumed
– may contain wildcards (*)
Accept-Encoding
• Like Accept but list is a list of acceptable
encoding schemes
• Ex
– Accept-Encoding: x-compress;x-zip
User-Agent
• Software product used by original client
• <field> = User-Agent: <product>
• <product> = <word> [/<version>]
• <version> = <word>
• Ex.
– User-Agent: IBM WebExplorer DLL /v960311
Referer
• For Server’s benefit, client lists URL od
document (or document type) from which
the URL in request was obtained.
• Allows server to generate back-links,
logging, tracing of bad links…
• Ex.
– Referer: http:/www.w3.com/xxx.html
Authorization:
• For Password and authentication schemes
• Ex.
– Authorization: user fred:mypassword
– Authorization: kerberos kerberosparameters
ChargeTo:
• Accounting information
• Accounting system dependent
Pragma:
• Same format as accept
• for servers
• should be passed through proxies, but used
by proxy
• only pragma currently defined is no-cache;
proxy should get document from owning
server rather than cache
Modified-Since:
• Used with GET to make a conditional GET
• if requested document has not been
modified since specified date a Modified
304 header is sent back to client instead of
document
– client can then display cached version
Response Packets
• Sent by server to client browser in response
to a Request Packet
Status Header
• “HTTP/1.0 sp code”
• Codes:
– 1xx - reserved for future use
– 2xx - successful, understood and accepted
– 3xx - further action needed to complete
– 4xx - bad syntax in client request
– 5xx - server can’t fulfill good request
HTTP Response Headers
• Sent by server to client browser
• Status Header
– Entities
• Content-Encoding:
• Content-Length:
• Content-Type:
• Expires:
• Last-Modified:
• extension-header
• Body – content (usually html)
Status Codes
• 200 OK
• 201 created
• 202 accepted
• 204 no content
• 301 moved perm.
• 302 moved temp
• 304 not modified
• 400 bad request
• 401 unauthorized
• 403 forbidden
• 404 not found
• 500 int. server error
• 501 not impl.
• 502 bad gateway
• 503 svc not avail
Statelessness
• Because of the Connect, Request,
Response, Disconnect nature of HTTP it is
said to be a stateless protocol
– i.e. from one web page to the next there is
nothing in the protocol that allows a web
program to maintain program “state” (like a
desktop program).
– “state” can be maintained by “witchery” or
“trickery” if it is needed
Maintaining program “state”
• Hidden variables (<input type=hidden>
• Sessions
– Special header tags interpreted by the server
• Used by ASP, PHP, JSP
– Implemented at the language api level

More Related Content

What's hot

Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.N
Navaneethan Naveen
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
Rajan Pandey
 
HTTP
HTTPHTTP
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
johnny19910916
 
Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
Piero Fraternali
 
Http request&response
Http request&responseHttp request&response
Http request&response
Aswin Krishnamoorthy
 
Http
HttpHttp
Http
Eri Alam
 
HTTP
HTTPHTTP
Httpbasics 1207412539273264-9-converted
Httpbasics 1207412539273264-9-convertedHttpbasics 1207412539273264-9-converted
Httpbasics 1207412539273264-9-converted
computerorganization
 
What's up with HTTP?
What's up with HTTP?What's up with HTTP?
What's up with HTTP?
Mark Nottingham
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
selvakumar_b1985
 
HTTP
HTTPHTTP
Http protocol
Http protocolHttp protocol
Http protocol
Arpita Naik
 
Http
HttpHttp
general protocol basics
general protocol basicsgeneral protocol basics
general protocol basics
Aravindan A
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
Chuong Mai
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
Shubham Srivastava
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1
hussulinux
 
Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)
maamir farooq
 
21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards
Denis Ristic
 

What's hot (20)

Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.N
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
HTTP
HTTPHTTP
HTTP
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
 
Http request&response
Http request&responseHttp request&response
Http request&response
 
Http
HttpHttp
Http
 
HTTP
HTTPHTTP
HTTP
 
Httpbasics 1207412539273264-9-converted
Httpbasics 1207412539273264-9-convertedHttpbasics 1207412539273264-9-converted
Httpbasics 1207412539273264-9-converted
 
What's up with HTTP?
What's up with HTTP?What's up with HTTP?
What's up with HTTP?
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
HTTP
HTTPHTTP
HTTP
 
Http protocol
Http protocolHttp protocol
Http protocol
 
Http
HttpHttp
Http
 
general protocol basics
general protocol basicsgeneral protocol basics
general protocol basics
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1
 
Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)
 
21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards
 

Similar to Hyper text transport protocol

Ch 3: Web Application Technologies
Ch 3: Web Application TechnologiesCh 3: Web Application Technologies
Ch 3: Web Application Technologies
Sam Bowne
 
application of http.pptx
application of http.pptxapplication of http.pptx
application of http.pptx
ssuseraf60311
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application Technologies
Sam Bowne
 
Using Communication and Messaging API in the HTML5 World
Using Communication and Messaging API in the HTML5 WorldUsing Communication and Messaging API in the HTML5 World
Using Communication and Messaging API in the HTML5 World
Gil Fink
 
Unit v
Unit v Unit v
Unit v
APARNA P
 
CNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application TechnologiesCNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application Technologies
Sam Bowne
 
Web technology Unit I Part C
Web technology Unit I  Part CWeb technology Unit I  Part C
Web technology Unit I Part C
SSN College of Engineering, Kalavakkam
 
Web
WebWeb
Attacking REST API
Attacking REST APIAttacking REST API
Attacking REST API
Siddharth Bezalwar
 
Compute rNetwork.pptx
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptx
ShehryarFreelancer
 
www | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorialwww | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorial
MSA Technosoft
 
Http
HttpHttp
Http utilize
Http utilizeHttp utilize
Http utilize
vishalgohel12195
 
Web & HTTP
Web & HTTPWeb & HTTP
Web & HTTP
MansiSingh269494
 
009478419.pdf
009478419.pdf009478419.pdf
009478419.pdf
EidTahir
 
Module 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptxModule 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptx
AASTHAJAJOO
 
Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207
Lori Head
 
Class 1 - World Wide Web Introduction
Class 1 - World Wide Web IntroductionClass 1 - World Wide Web Introduction
Class 1 - World Wide Web Introduction
Ahmed Swilam
 
The never-ending REST API design debate
The never-ending REST API design debateThe never-ending REST API design debate
The never-ending REST API design debate
Restlet
 
Web-01-HTTP.pptx
Web-01-HTTP.pptxWeb-01-HTTP.pptx
Web-01-HTTP.pptx
AliZaib71
 

Similar to Hyper text transport protocol (20)

Ch 3: Web Application Technologies
Ch 3: Web Application TechnologiesCh 3: Web Application Technologies
Ch 3: Web Application Technologies
 
application of http.pptx
application of http.pptxapplication of http.pptx
application of http.pptx
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application Technologies
 
Using Communication and Messaging API in the HTML5 World
Using Communication and Messaging API in the HTML5 WorldUsing Communication and Messaging API in the HTML5 World
Using Communication and Messaging API in the HTML5 World
 
Unit v
Unit v Unit v
Unit v
 
CNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application TechnologiesCNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application Technologies
 
Web technology Unit I Part C
Web technology Unit I  Part CWeb technology Unit I  Part C
Web technology Unit I Part C
 
Web
WebWeb
Web
 
Attacking REST API
Attacking REST APIAttacking REST API
Attacking REST API
 
Compute rNetwork.pptx
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptx
 
www | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorialwww | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorial
 
Http
HttpHttp
Http
 
Http utilize
Http utilizeHttp utilize
Http utilize
 
Web & HTTP
Web & HTTPWeb & HTTP
Web & HTTP
 
009478419.pdf
009478419.pdf009478419.pdf
009478419.pdf
 
Module 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptxModule 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptx
 
Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207
 
Class 1 - World Wide Web Introduction
Class 1 - World Wide Web IntroductionClass 1 - World Wide Web Introduction
Class 1 - World Wide Web Introduction
 
The never-ending REST API design debate
The never-ending REST API design debateThe never-ending REST API design debate
The never-ending REST API design debate
 
Web-01-HTTP.pptx
Web-01-HTTP.pptxWeb-01-HTTP.pptx
Web-01-HTTP.pptx
 

More from HarshithaAllu

Environmenal protection
Environmenal protectionEnvironmenal protection
Environmenal protection
HarshithaAllu
 
Ch5 inheritance
Ch5 inheritanceCh5 inheritance
Ch5 inheritance
HarshithaAllu
 
Social project work-political parties
Social project work-political partiesSocial project work-political parties
Social project work-political parties
HarshithaAllu
 
ROLE OF PRINT MEDIA IN FREEDOM STRUGGLE
ROLE OF PRINT MEDIA IN FREEDOM STRUGGLEROLE OF PRINT MEDIA IN FREEDOM STRUGGLE
ROLE OF PRINT MEDIA IN FREEDOM STRUGGLE
HarshithaAllu
 
Operating system
Operating systemOperating system
Operating system
HarshithaAllu
 
java programming - applets
java programming - appletsjava programming - applets
java programming - applets
HarshithaAllu
 
GETTING STARTED WITH JAVA(beginner)
GETTING STARTED WITH JAVA(beginner)GETTING STARTED WITH JAVA(beginner)
GETTING STARTED WITH JAVA(beginner)
HarshithaAllu
 
introduction to oops presentation
 introduction to oops presentation introduction to oops presentation
introduction to oops presentation
HarshithaAllu
 
PRAGRAMMING IN JAVA (BEGINNER)
PRAGRAMMING IN JAVA (BEGINNER)PRAGRAMMING IN JAVA (BEGINNER)
PRAGRAMMING IN JAVA (BEGINNER)
HarshithaAllu
 
Structure of neuron
Structure of neuronStructure of neuron
Structure of neuron
HarshithaAllu
 
PRESSENTATION SKILLS
PRESSENTATION SKILLSPRESSENTATION SKILLS
PRESSENTATION SKILLS
HarshithaAllu
 
IR remote sensing technology
IR remote sensing technologyIR remote sensing technology
IR remote sensing technology
HarshithaAllu
 
Closed loop (automated) insulin delivery
Closed loop (automated) insulin delivery Closed loop (automated) insulin delivery
Closed loop (automated) insulin delivery
HarshithaAllu
 

More from HarshithaAllu (13)

Environmenal protection
Environmenal protectionEnvironmenal protection
Environmenal protection
 
Ch5 inheritance
Ch5 inheritanceCh5 inheritance
Ch5 inheritance
 
Social project work-political parties
Social project work-political partiesSocial project work-political parties
Social project work-political parties
 
ROLE OF PRINT MEDIA IN FREEDOM STRUGGLE
ROLE OF PRINT MEDIA IN FREEDOM STRUGGLEROLE OF PRINT MEDIA IN FREEDOM STRUGGLE
ROLE OF PRINT MEDIA IN FREEDOM STRUGGLE
 
Operating system
Operating systemOperating system
Operating system
 
java programming - applets
java programming - appletsjava programming - applets
java programming - applets
 
GETTING STARTED WITH JAVA(beginner)
GETTING STARTED WITH JAVA(beginner)GETTING STARTED WITH JAVA(beginner)
GETTING STARTED WITH JAVA(beginner)
 
introduction to oops presentation
 introduction to oops presentation introduction to oops presentation
introduction to oops presentation
 
PRAGRAMMING IN JAVA (BEGINNER)
PRAGRAMMING IN JAVA (BEGINNER)PRAGRAMMING IN JAVA (BEGINNER)
PRAGRAMMING IN JAVA (BEGINNER)
 
Structure of neuron
Structure of neuronStructure of neuron
Structure of neuron
 
PRESSENTATION SKILLS
PRESSENTATION SKILLSPRESSENTATION SKILLS
PRESSENTATION SKILLS
 
IR remote sensing technology
IR remote sensing technologyIR remote sensing technology
IR remote sensing technology
 
Closed loop (automated) insulin delivery
Closed loop (automated) insulin delivery Closed loop (automated) insulin delivery
Closed loop (automated) insulin delivery
 

Recently uploaded

ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
PRIYANKA PATEL
 
Immersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths ForwardImmersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths Forward
Leonel Morgado
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills MN
 
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốtmô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
HongcNguyn6
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
yqqaatn0
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
MaheshaNanjegowda
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
İsa Badur
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
Texas Alliance of Groundwater Districts
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
Anagha Prasad
 
Compexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titrationCompexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titration
Vandana Devesh Sharma
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
University of Maribor
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
LengamoLAppostilic
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
Abdul Wali Khan University Mardan,kP,Pakistan
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
RitabrataSarkar3
 
Thornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdfThornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdf
European Sustainable Phosphorus Platform
 
Medical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptxMedical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptx
terusbelajar5
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
kejapriya1
 

Recently uploaded (20)

ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
 
Immersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths ForwardImmersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths Forward
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
 
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốtmô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
 
Compexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titrationCompexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titration
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
 
Thornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdfThornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdf
 
Medical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptxMedical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptx
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
 

Hyper text transport protocol

  • 1. Hypertext Transport Protocol TEAM MEMBERS: Allu Harshita-34 P.Aishwarya -39 P.Hrudaya sai bhavani -47 M.Tejasri -18 P.Sowmya -17
  • 2. HTTP • Hypertext Transport Protocol • Language of the Web – protocol used for communication between web browsers and web servers • TCP port 80 • RFC 2616
  • 3. URI,URN,URL • Uniform Resource Identifier – Information about a resource • Uniform Resource Name – The name of the resource with in a namespace • Uniform Resource Locator – How to find the resource, a URI that says how to find the resource
  • 4. HTTP - URLs • URL – Uniform Resource Locator • protocol (http, ftp, news) • host name (name.domain name) • port (usually 80 but many on 8080) • directory path to the resource • resource name – http://xxx.myplace.com/www/index.html – http://xxx.myplace.com:80/cgi-bin/t.exe
  • 5. HTTP - methods • Methods – GET • retrieve a URL from the server – simple page request – run a CGI program – run a CGI with arguments attached to the URL – POST • preferred method for forms processing • run a CGI program • parameterized data in sysin • more secure and private
  • 6. HTTP - methods • Methods – PUT • Used to transfer a file from the client to the server – HEAD • requests URLs status header only • used for conditional URL handling for performance enhancement schemes – retrieve URL only if not in local cache or date is more recent than cached copy
  • 7. HTTP Request Packets • Sent from client to server • Consists of HTTP header – header is hidden in browser environment – contains: • content type / mime type • content length • user agent - browser issuing request • content types user agent can handle • and a URL
  • 8. HTTP Request Headers • Precede HTTP Method requests • headers are terminated by a blank line • Header Fields: – From – Accept – Accept-Encoding – Accept Language
  • 9. HTTP Request Headers – Referer – Authorization – Charge-To – If-Modified-Since – Pragma
  • 10. From: • In internet mail format, the requesting user • Does not have to correspond to requesting host name (might be a proxy) • should be a valid e-mail address
  • 11. Accept: – List of schemes which will be accepted by client – <field> = Accept: <entry> * [,<entry>] – <entry> = <content type> *[;<param>] – <param> = <attr> = <float> – <attr> = q / mxs / mxb – <float> = <ANSI-C floating point > – Accept: text/html – Accept: audio/basic q-1 – if no Accept is found; plain/text is assumed – may contain wildcards (*)
  • 12. Accept-Encoding • Like Accept but list is a list of acceptable encoding schemes • Ex – Accept-Encoding: x-compress;x-zip
  • 13. User-Agent • Software product used by original client • <field> = User-Agent: <product> • <product> = <word> [/<version>] • <version> = <word> • Ex. – User-Agent: IBM WebExplorer DLL /v960311
  • 14. Referer • For Server’s benefit, client lists URL od document (or document type) from which the URL in request was obtained. • Allows server to generate back-links, logging, tracing of bad links… • Ex. – Referer: http:/www.w3.com/xxx.html
  • 15. Authorization: • For Password and authentication schemes • Ex. – Authorization: user fred:mypassword – Authorization: kerberos kerberosparameters
  • 16. ChargeTo: • Accounting information • Accounting system dependent
  • 17. Pragma: • Same format as accept • for servers • should be passed through proxies, but used by proxy • only pragma currently defined is no-cache; proxy should get document from owning server rather than cache
  • 18. Modified-Since: • Used with GET to make a conditional GET • if requested document has not been modified since specified date a Modified 304 header is sent back to client instead of document – client can then display cached version
  • 19. Response Packets • Sent by server to client browser in response to a Request Packet
  • 20. Status Header • “HTTP/1.0 sp code” • Codes: – 1xx - reserved for future use – 2xx - successful, understood and accepted – 3xx - further action needed to complete – 4xx - bad syntax in client request – 5xx - server can’t fulfill good request
  • 21. HTTP Response Headers • Sent by server to client browser • Status Header – Entities • Content-Encoding: • Content-Length: • Content-Type: • Expires: • Last-Modified: • extension-header • Body – content (usually html)
  • 22. Status Codes • 200 OK • 201 created • 202 accepted • 204 no content • 301 moved perm. • 302 moved temp • 304 not modified • 400 bad request • 401 unauthorized • 403 forbidden • 404 not found • 500 int. server error • 501 not impl. • 502 bad gateway • 503 svc not avail
  • 23. Statelessness • Because of the Connect, Request, Response, Disconnect nature of HTTP it is said to be a stateless protocol – i.e. from one web page to the next there is nothing in the protocol that allows a web program to maintain program “state” (like a desktop program). – “state” can be maintained by “witchery” or “trickery” if it is needed
  • 24. Maintaining program “state” • Hidden variables (<input type=hidden> • Sessions – Special header tags interpreted by the server • Used by ASP, PHP, JSP – Implemented at the language api level