



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




HTTP is a Stateless protocol.
MIME stands for Multi-purpose Internet Mail Extensions.
MIME contains encoding features, added to enable transfer of binary data, e.g. images (GIF, JPEG etc.) via mail. Using MIME encoding HTTP can now transfer complex binary data, e.g. images and video.
Short for Request for Comments, a series of notes about the Internet, started in 1969 (when the Internet was the ARPANET). An Internet Document can be submitted to the IETF by anyone, but the IETF decides if the document becomes an RFC. Eventually, if it gains enough interest, it may evolve into an Internet standard. HTTP version 1.1 is derived from HTTP/1.1, Internet RFC 2616, Fielding, et al. Each RFC is designated by an RFC number. Once published, an RFC never changes. Modifications to an original RFC are assigned a new RFC number.
HTTP is a Text Transport Protocol Transferring binary data over HTTP needs Data Encoding and Decoding because binary characters are not permitted Similarly some characters are not permitted in a URL, e.g. SPACE. Here, URL encoding is used
Including a Carriage Return / Line feed in a string printf(“Line One\nThis is new line”);
Including a character in a string not found on our normal keyboards printf(“The funny character \xB2”);
Represents the Home Directory of a Web Server
IIS (Internet Information Server) has c:\inetpub\wwwroot\ as its default Home Directory
Here, /courses/ either corresponds to a Physical Directory c:\inetpub\wwwroot\courses OR Virtual Directoy
In a Web Server, we may specify that /courses/ will represent some other physical directory on the Web Server like D:\MyWeb. Then /courses/ will be a Virtual Directory. In Windows2000 and IIS 5.0 (Internet Information Server), a folder’s “Web Sharing…” is used to create a Virtual Directory for any folder.
GET /courses/win32.html HTTP/1.
Request line is followed by 2 Carriage-Return /Line-feed sequences
Method Resource Identifier
Version
Crlf
Crlf
Enables us to send and receive graphics, audio, and video files via the Internet mail system.
There are many predefined MIME types, such as GIF graphics files and PostScript files. It is also possible to define your own MIME types.
In addition to e-mail applications, Web browsers also support various MIME types. This enables the browser to display or output files that are not in HTML format.
MIME was defined in 1992 by the Internet Engineering Task Force (IETF). A new version, called S/MIME, supports encrypted messages.
404 Not Found
HTTP/1.1 302 Object Moved Location: http://www.vu.edu.pk
crlf
Most browsers will send another HTTP request to the new location, i.e. http://www.vu.edu.pk This is called Browser Redirection
HTML text is received in one HTTP request from the Web Server Browser reads all the HTML web page and paints its client area according to the HTML tags specified. Browser generates one fresh HTTP request for each image specified in the HTML file
Our server architecture will be based upon the following points
Many WinSock function calls e.g. accept() are blocking calls Server needs to serve up 5 clients simultaneously. Using other WinSock blocking calls, need to perform termination tasks for asynchronously terminating communication threads.
In this lecture, we studied some terms and their jobs. We studied HTTP (hyper text transfer protocol) which is used to transfer text data across the net work. We also studied HTML that is hyper text markup language which is simply a text script. Html is loaded in web browser and web browser translates the text and executes instruction written in form of text. For transferring media like image data and movie data, we overviewed MIME.
Note: For example and more information connect to Virtual University resource Online.