servlet

WEB Terminology

2017-07-31  本文已影响0人  plato_哲

The basic characteristics of  HTTP:

1.It is the protocol that allows web servers and browsers to exchange data over the web.

2.It is a request response protocol.

3.It uses the reliable TCP connections by default on TCP port 80.

4.It is stateless means each request is considered as the new request. In other words, server doesn't recognize the user by default.

HTTP REQUESTS METHOD:

GET POST HEAD TRACE PUT DELETE OPTIONS

Anatomy of Get Request:

Some other features of GET requests are:

It remains in the browser history

It can be bookmarked

It can be cached

It have length restrictions

It should never be used when dealing with sensitive data

It should only be used for retrieving the data

Anatomy of Post Request

Some other features of POST requests are:

This requests cannot be bookmarked

This requests have no restrictions on length of data

This requests are never cached

This requests do not remains in the browser history

上一篇 下一篇

猜你喜欢

热点阅读