Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon


< >

HTTP is a protocol created in 1989 by Tim Berners-Lee.

#148on PLDB 35Years Old 0Repos

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, and hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web. Hypertext is structured text that uses logical links (hyperlinks) between nodes containing text. Read more on Wikipedia...

Example from hello-world:
import http.server import socketserver from http import HTTPStatus class Handler(http.server.SimpleHTTPRequestHandler): def do_GET(self): self.send_response(HTTPStatus.OK) self.end_headers() self.wfile.write(b'Hello World') httpd = socketserver.TCPServer(('', 8000), Handler) httpd.serve_forever()
Example from Wikipedia:
HTTP/1.1 200 OK Date: Mon, 23 May 2005 22:38:34 GMT Content-Type: text/html; charset=UTF-8 Content-Encoding: UTF-8 Content-Length: 138 Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT Server: Apache/ (Unix) (Red-Hat/Linux) ETag: "3f80f-1b6-3e1cb03b" Accept-Ranges: bytes Connection: close <html> <head> <title>An Example Page</title> </head> <body> Hello World, this is a very simple HTML document. </body> </html>
http://http://http://@http://http://?http://#http:// is a legitimate URL

View source

- Build the next great programming language About Acknowledgements Part of the World Wide Scroll