1
00:00:00,180 --> 00:00:06,000
In this part, we are going to talk about a response object in the York, the server response object

2
00:00:06,000 --> 00:00:09,030
represents the right approach dream but to the client.

3
00:00:09,840 --> 00:00:16,020
First, we have to formulate a response to that gift, the browser attached to the information about

4
00:00:16,020 --> 00:00:22,770
what kind of information you're sending back to the browser, such as pass e-mail or adjacent.

5
00:00:23,100 --> 00:00:31,080
So now we are going to set the header so we delete these to close the load and we paste of response.

6
00:00:31,080 --> 00:00:39,290
Thought that had a content type and start praying.

7
00:00:40,230 --> 00:00:47,310
So this will stand to bring cash to the browser and the next year we are going to send the response

8
00:00:47,310 --> 00:00:52,610
thought right and welcome to Mobile.

9
00:00:53,130 --> 00:01:00,900
So to enter the response, we have to type response and then we are going to start the server by using

10
00:01:00,900 --> 00:01:07,950
the own server and then we go to the browser and type localhost with Pottsy thousands.

11
00:01:08,490 --> 00:01:09,830
And now you can see.

12
00:01:10,110 --> 00:01:12,140
Welcome to the second mobile task.

13
00:01:12,990 --> 00:01:17,340
And if we go to the developer tools and Danco go to work.

14
00:01:18,690 --> 00:01:23,070
And refresh and go to the local house and you can see.

15
00:01:24,480 --> 00:01:32,570
When we kick on the head, as you can see, the response header, the content type is pretty intense.

16
00:01:32,760 --> 00:01:43,350
So if we want to send e-mail instead of dipping past, we has to change days to e-mail and every right

17
00:01:43,350 --> 00:01:43,860
to light.

18
00:01:43,860 --> 00:01:58,210
Of course, one is there and then we type welcome to Mobile and then it's now is this is no James Horse.

19
00:01:58,910 --> 00:02:01,290
So now we can go to the page and refresh.

20
00:02:01,320 --> 00:02:04,050
You can see the world to a second mobile.

21
00:02:04,050 --> 00:02:10,710
And this is not just and when you click on the elements, we can see it automatically at the hashtag

22
00:02:10,710 --> 00:02:12,020
and also the body bodyguard.

23
00:02:12,240 --> 00:02:20,070
And if we write our own body had for example, if we write our own body tag, for example, we type

24
00:02:20,340 --> 00:02:20,910
response.

25
00:02:21,180 --> 00:02:21,660
Right.

26
00:02:22,290 --> 00:02:26,590
And then body and we set the course as equal to app.

27
00:02:26,850 --> 00:02:29,910
And then we close the body and then we save it.

28
00:02:30,540 --> 00:02:36,000
And you can see the body is happy, has no cost them and be free refreshed.

29
00:02:36,000 --> 00:02:38,520
It has the cost of equal to every.
