Introduction to HTTP protocol (1)

Source: Internet
Author: User
Tags rar

http just Born is 0.9 version, only supports the transfer of simple text files.


  one html file is achievable and will be dispersed over multiple or one web server html page, which is called html language.

There are resources on the server, called Web resources, i.e. Web Object

how to get the resources above, complex, not only can the remote server to get the resources locally, but also to submit the local resources to the server, resource access is not the same means, called the Resource Acquisition method, which is http Method:

0.9 version has only one method: Get

1.0after that with aput,Delete,Post,Get, and so on eight kinds,putand theDeleteis relative, gets from the server/Delete a file to local,

Post and the Get is relative, Post submit the form to the server, Get get the resources on the remote server to the local browser display

None of the three methods are secure, because the resources on the server can be manipulated, so client authentication is generally required. the safest get, equivalent to read-only

1.0 The biggest change is the introduction of MIME mechanism, multi-coal body Internet Mail Extension Multipurpose mnternet Mail Extension

SMTP: only plain text can be transmitted in the early days, and later transfer mp3 , and so forth in binary format, is later SMTP introduced a MIME mechanism to

MIME : The non-text data is re-encoded into a text file before transmission, and the receiver can revert it back to its original format in the opposite way. You can also call the appropriate program to open this file rar format with rar Program opens

Base64 is an encoding format,

Dynamic Web pages: server-side stored documents are not HTML format, but scripts, programs,

The client is requesting php html file, it will not immediately respond to client access, it will be called through some kind of protocol php parser,

Let it run index.php file and generate a format for the run result itself html document, put html documents sent to web Server, web server sent to the client.

web server does not execute script, it calls additional tools, such as index.php php parser, let it run php html

so execute server script with web server no relationship, web server It's just a http server, which is not responsible for handling dynamic content.

a Web server response such as, Suppose the access is a is a HTML file:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/76/6D/wKioL1ZTCq3heFtCAACuQqwfJvI846.png "title=" Untitled picture. png "alt=" Wkiol1ztcq3heftcaacuqqwfjvi846.png "/>

This article is from "IT Operations technology sharing" blog, please be sure to keep this source http://newfly.blog.51cto.com/6103718/1716118

Introduction to HTTP protocol (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.