HTTP
– means HyperText Transfer Protocol.
- HTTP is the underlying protocol used by the World Wide Web and this protocol defines:
ü how messages are formatted?
ü How messages are transmitted? and
ü what actions Web servers and browsers should take in response to various commands?
- For example, when you enter a
URL in your browser, this actually sends an HTTP
command to the Web server directing
it to fetch and transmit the requested
Web
page.
- It was originally devised by Sir
Tim Berners Lee in 1989. It is now coordinated by the W3C.
- The other main standard that controls how the World Wide Web works is HTML, which covers how Web pages are formatted and displayed.
- HTTP (Hypertext Transfer Protocol) is the set of rules for transferring files (text, graphic images, sound, video, and other multimedia files) on the World Wide Web.
- HTTP is called a stateless protocol because each command is executed independently,
- It does not consider about the command which came before the current command.
- HTTP is a client-server protocol: requests are sent by the user-agent i.e. Web browser.
-This request is accepted by server & server after processing it, return the response.
- Some
common HTTP status
codes include:
1.
200 - successful request (the webpage
exists)
2.
301 - moved permanently (often forwarded to a new
URL)
3.
401 - unauthorized request
(authorization required)
4.
403 -
forbidden (access is not allowed
to the page or
directory)
5.
500 - internal
server error (often caused by an
incorrect server configuration)
-A
similar abbreviation, HTTPS means Hyper
Text Transfer Protocol
Secure.
-Basically, it is the secure version of HTTP. Communications between the browser and
website are encrypted.
Comments
Post a Comment