HTTP Communication Protocol

2.2.2 HTTP Communication Protocol

Http is an object-oriented protocol that belongs to the application layer. It is simple and fast, and suitable for distributed hyper-media information system.

2 E-commerce Supporting Technologies

Proposed in 1990, now Http has evolved to the sixth edition of HTTP/1.0 after several years’ development, which is now used in www. While the standardization of HTTP/1.1 is under way, HTTP-NG (Next Generation of HTTP) has been proposed as well.

The primary features of http protocol can be outlined as follows: (1) Supporting the client/server mode. (2) Simple and fast: When the client sends a request to the server, only the method

and path are required. Commonly requested methods include GET, HEAD and POST. Each method prescribes the different types of the interconnection between client and server. Because of the simplicity of http, the http program is small, thus the speed is high.

(3) Flexible: Http allows the transport of data object of arbitrary type. The type that is being transported is marked with Content-Type.

(4) Connectionless: Connectionless means that each connection was restricted to process only one request. The server disconnects immediately after receiving the response. In this way time is saved.

(5) Stateless: Http is a stateless protocol. Stateless means that the protocol has no memory concerning business transaction. That is, if the business transaction afterwards needs previous information, it has to be resent, which means the data amount would be increased. On the other hand, when the server does not require previous information, the response would be faster.

Some important concepts in HTTP protocol: (1) Message: The basic element of http communications, including a structured

eight-element sequence.

(2) Request: A message from the client to the server, which should include the method of using resources, the resource identity and version number of protocol.

(3) Response: A message returned from the server, which includes the version number of http protocol, request state (success or unavailable) and the MIME type of document.

(4) Resource: The network data object or service marked by URI. (5) Entity: A special representation of data resource, which might be rounded

up by a request or response. An entity should include the entity head and its content.

(6) Client: An application established to send request. (7) Client proxy: The terminal that initializes requests, such as browser, editor

or other tools. (8) Server: An application that receives request and returns response. (9) Source Server: a server where resources can stay or be established. (10) Proxy: An intermediate program which acts either as a server or a client to

form request for its client.

(11) Gateway: A server that acts as the media for other servers. Different from proxy, the gateway acts as a resource server to the client sending the request. The

Introduction to E-commerce

client does not realize that it is interacting with the gateway. The gateway usually acts as the firewall server, which can also acts as a protocol interpreter to access the resources that are stored in non-http systems.

(12) Pathway: The media program between two connections. (13) Buffer: Local storage of response information. The http protocol is based on the request/response mode. Once a client gets

connection with a server, it sends a request to the server, the format of which includes URL, protocol version number, the MIME information, as well as the request modifier, client information and possible content. When the server receives the request, it will return immediately response, the format of which is a status line, including protocol version number, a success or error code, MIME information, plus server information, entity information and other possible content. Many http communications were initialized by a client proxy and include a request for the resource on the resource server as well. The simplest case might be to set up a single connection between the user agent and the source server.

Dokumen yang terkait

AN ALIS IS YU RID IS PUT USAN BE B AS DAL AM P E RKAR A TIND AK P IDA NA P E NY E RTA AN M E L AK U K A N P R AK T IK K E DO K T E RA N YA NG M E N G A K IB ATK AN M ATINYA P AS IE N ( PUT USA N N O MOR: 9 0/PID.B /2011/ PN.MD O)

0 82 16

Anal isi s L e ve l Pe r tanyaan p ad a S oal Ce r ita d alam B u k u T e k s M at e m at ik a Pe n u n jang S MK Pr ogr a m Keahl ian T e k n ologi , Kese h at an , d an Pe r tani an Kelas X T e r b itan E r lan gga B e r d asarkan T ak s on om i S OL O

2 99 16

The Effectiveness of Computer-Assisted Language Learning in Teaching Past Tense to the Tenth Grade Students of SMAN 5 Tangerang Selatan

4 116 138

Modul TK E 2016 150 hlm edit Tina M imas

2 44 165

Membangun aplikasi e-commerce pada Toko Reafshop Bandung

1 26 687

Pengaruh Persepsi Kemudahan dan Kepuasan Wajib Pajak Terhadap Penggunaan E Filling (Survei Pada Wajib Pajak Orang Pribadi Di Kpp Pratama Soreang)

12 68 1

PENGARUH ARUS PENGELASAN TERHADAP KEKUATAN TARIK PADA PENGELASAN BIMETAL (STAINLESS STEEL A 240 Type 304 DAN CARBON STEEL A 516 Grade 70) DENGAN ELEKTRODA E 309-16

10 133 86

Factors Related to Somatosensory Amplification of Patients with Epigas- tric Pain

0 0 15

TEKNIK PERLAKUAN PENDAHULUAN DAN METODE PERKECAMBAHAN UNTUK MEMPERTAHANKAN VIABILITAS BENIH Acacia crassicarpa HASIL PEMULIAAN (Pretreatment Technique and Germination Method to Maintain the Viability of Acacia crassicarpa Improved Seed)

0 1 11

The Risk and Trust Factors in Relation to the Consumer Buying Decision Process Model

0 0 15