Hello and welcome back to another section Section
5 and map. A scripting engine poetry promises,
our last part of the end web scripting engine web a
packing.
This is the first video section five. So we're going to talk about a little later
fundamentals. So we're going to talk about the basic of HTTP first.
What is this? s*****? Pianos works? Well, they should
be P stands for hypertext transfer protocol. And
is used for transferring data across the
web.
There's critical protocol for web developers to
understand and because a fitted device pre
any use of It, new transferring data and comments
in. Are you deprecations? The first version of
Target? The Portugal had only one method namely
gets, which would request a page from
a server response page from the server was
always an HTML page.
So obviously assign each team that page to
give you an idea how simple HTTP protocol started, you
may want to take a look at the original specification, which
only one page in Wikipedia. There have been
several version of HTTP starting with the original version
was 0.9. The
conversion is 1 Point 1 and
was the less wise in their 2014.
So how is work? Exactly? Like most of the Internet Protocol HTTP
is a comment and response text-based protocol using
the client server communication. So, client, send
a request to the server. A server response to the client.
The client makes a request and serious puts.
Okay. So there's two particles. Also stateless
protocol, meaning that the server isn't required
to restore decision formation. And each request is
independent of the other.
Where's it at mean? That's mean all the records organized
and at a client's in some in your browser. You
are the client and the server responded requests and
requires, that means comment and response are
near readable. Text. Sookie
records are independent of each other and silver
do not, or doesn't need to track Grist.
Let's talk about more about Rick was a response roukoz
and response. Message structure are the same.
In the message body of the HTML. For
example, a comment or requests optional, headers plus
optional body content. For example, a
response concept of this tattoos of
the code, the optional header and optional body content. For
example, in the previous session research to
be numeration. We talk about the bodies and we
saw exactly of a body of the HTTP in a movement and
simple crlf. That's mean
carriage return line feed.
In is used to do mate after part and a
single blank of the Sierra left decays and of a hitter, if
the recluse or response contain a message body, then
it is the indicated in the header. The percent
of the message body in Intercourse is signaled
by content length, and a transfer encoding.
Header field. What about HTTP request? We
solder General request response format earlier. Now,
we will cover the request message. So in
this one, it is mandatory structure is as a
follow for the
Method, plus your crisp and Portugal version.
For example, when you are in the website, you can see the link will
talk about a get method. There is a good Improvement
of the we're going to talk about later but get method is
the best method and the following
page and it is page. For example, HTML is a relative
path to the resource and HTTP slash 1.1
is a portico version of using
Plus have a summary
First, we talk about issue to be and what is this debate that
lie as a request response protocol H-E-B gives
users a way to interpret a cataract. We
do web resources such as HTML files. And
for the last step. I'm going to
tell you that when the following video we're going to talk about the
comments for HTTP and related this
to be. But also we worked as a H2 animation in
our last section. May want to take a
look again.
The next video will be HTTP room scrapes part 1. Good
luck.