The Http and the Web | Http Explained | Request-Response Cycle

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 260

  •  8 ปีที่แล้ว +390

    Hello, nice video. But some corrections / constructive critisism. HTTP is stateless, but not connectionless as you say in the video. HTTP uses TCP for the underlying connection:
    "Transport Layer: TCP is a connection-oriented transport protocol. UDP is connectionless."
    So actually the client does NOT disconnect after it has sent the request, it will keep the connection open until it receives the response, then it disconnects. No state is kept for this HTTP transaction, this is why it is called stateless. Any new HTTP request will cause a new TCP connection.
    Of course this is a simplification, in the real world this would be very inefficient, so web servers make use of Keep-alives to enable reusing the same TCP connection for multiple requests.

    • @TheTechCave
      @TheTechCave  8 ปีที่แล้ว +52

      In this video I tried to talk just in the application layer. thanks for the clarification ^^

    • @dipsmoke
      @dipsmoke 8 ปีที่แล้ว +38

      "At the application layer, HTTP is connectionless. However, HTTP requires a connection oriented service to operate, and that is where TCP comes into play". In other words you can't just say wether its connection less or connection oriented without further explanation of your statement. And basically both of them can be true, depending on the explanation.

    • @MR2SpyerJournal
      @MR2SpyerJournal 7 ปีที่แล้ว +9

      With understanding of the OSI reference model, he isn't wrong. This is helpful for me as a beginner to make it less complicated. Obviously there is some connection on some level of the OSI model IP/TCP model.

    • @xuxamelo
      @xuxamelo 7 ปีที่แล้ว +4

      OSI model is composed of 7 layers however the "TCP/IP" stack is composed of 5 layers. The OSI model it is a "standard" it is not meant to be built. it describes a standard. TCP/IP it was built by the OSI model standard... thought ;)

    • @RAGHAVENDRASINGH17
      @RAGHAVENDRASINGH17 7 ปีที่แล้ว +1

      👍

  • @Metroidam11
    @Metroidam11 5 ปีที่แล้ว +3

    I've been reading about HTTP headers and it wasn't clicking for me. Found this video and it all makes sense now! Thank you so much!

  • @MajdyCalisthenics
    @MajdyCalisthenics 2 ปีที่แล้ว +1

    this explanation was the most usefull one for me! thanks!

  • @attiqahmad7160
    @attiqahmad7160 5 ปีที่แล้ว +5

    Really impressive.....the way you divided the whole tutorial..thats amazing and at the the summary...MAY GOD SHOWER YOU WITH MORE KNOWLEDGE

  • @manojjustmanoj1297
    @manojjustmanoj1297 2 ปีที่แล้ว +3

    This is a crystal clear explanation for beginners like me

  • @seeboonsoo
    @seeboonsoo 8 ปีที่แล้ว +65

    Best video ever to explain HTTP protocol. Thanks.

  • @Berjoujii
    @Berjoujii 6 ปีที่แล้ว +21

    Great video. one suggestion: try using a bright text color when using a dark background. thanks for the clear and simple explanation

  • @latikacoder
    @latikacoder 5 ปีที่แล้ว +6

    Hi Tech Cave,
    The technical explanation in the video are really clear and understandable just like a story and hence simplifying the process of the learning technical stuffs
    Just one request,can you please keep uploading more technical videos .It would be really helpful !!

  • @ivandariopenalozarojas5077
    @ivandariopenalozarojas5077 4 ปีที่แล้ว +1

    Every educational video should be like this: concise and insightful. It is difficult to find videos like this.

  • @RussellTeapot
    @RussellTeapot 7 ปีที่แล้ว +9

    fantastic explanation! concise yet thorough enough, and most importantly, clearly presented. thank you very much

  • @Leonardo-jv1ls
    @Leonardo-jv1ls 6 ปีที่แล้ว +18

    To understand how this things works is just think about a client/waiter/cooker relationship. All of them apply the same concept.

  • @modolief
    @modolief 2 ปีที่แล้ว +1

    1:18 - Three important things about the http protocol

  • @ontologie8667
    @ontologie8667 2 ปีที่แล้ว +1

    very nice explanation, many thanks dude.

  • @kyi3234
    @kyi3234 2 ปีที่แล้ว +1

    Thank you so much indeed sir. It is real helpful lessons for me.

  • @makshrech1263
    @makshrech1263 2 ปีที่แล้ว +1

    2023 still awesome!

  • @zoverlvx8094
    @zoverlvx8094 6 ปีที่แล้ว +2

    You really ought to consider a Patreon. You've got great content.

  • @sanjitpaul2953
    @sanjitpaul2953 3 ปีที่แล้ว

    You have created a clear immage of http. Thanks Sir.

  • @edwardkasimir8016
    @edwardkasimir8016 3 ปีที่แล้ว +4

    this video begins at 0:33

  • @affy2255
    @affy2255 3 ปีที่แล้ว +1

    Great video! Thank you so much!

  • @namanmehta5243
    @namanmehta5243 7 ปีที่แล้ว +2

    Nice Video! i finally understood how and why Request and Response works Thank You :)

  • @ChicagoHoodlum
    @ChicagoHoodlum 8 ปีที่แล้ว +3

    Thank you, good explanation of what HTTP is!

  • @VineetKumar1993
    @VineetKumar1993 8 ปีที่แล้ว

    WebDev Cave , Keep Creating videos. Your videos are just superb. Subscribed you

  • @JorgeCasasLópez
    @JorgeCasasLópez ปีที่แล้ว

    Great resource to learn about HTTP. Thanks for posting

  • @sharinglanguage
    @sharinglanguage 2 ปีที่แล้ว +1

    Simple and clear, very good. Thank you.

  • @joshuaf.5398
    @joshuaf.5398 2 ปีที่แล้ว +1

    You mentioned there are some good books out there on this topic. Can you suggest some?

  • @arthurqa91
    @arthurqa91 8 ปีที่แล้ว +3

    hey thank you for the video!!, it is very summed up and it works for a brush up for networking purposes, hope that you get more like later on!!

  • @mahditeymuri5650
    @mahditeymuri5650 4 ปีที่แล้ว

    this video more works for java script programmers than any body else does. specially in about 4:41 timeline you can see title of a java script program syntax. i.e i used java script as an application program for a while it's suggested by web-programmers

  • @구독계-l7q
    @구독계-l7q 3 ปีที่แล้ว

    thank you so much for the explanation in the easiest way! this video is so much helpful for me!

  • @TheTechCave
    @TheTechCave  3 ปีที่แล้ว +7

    Almost Six years since I uploaded this video! I just want to say thank you for all of you! This makes me feel nostalgic. I couldn't focus solely on the channel during this time, but hopefully, I'll come back stronger this time. Support me by liking, sharing, and subscribing. Also you support the The TechCave via ko-fi.com/thetechcave

    • @jonas7438
      @jonas7438 2 ปีที่แล้ว +1

      My professor linked your video in his course at university :D

  • @baryaley
    @baryaley 2 ปีที่แล้ว +1

    Which book is best?

  • @masegomsomi
    @masegomsomi 4 ปีที่แล้ว +1

    This video is extremely helpful!! Thank you!

  • @ZzBiazZ
    @ZzBiazZ 6 ปีที่แล้ว +1

    Wow, your content is great !! Thank you so much dude ^^

  • @wemode2998
    @wemode2998 4 ปีที่แล้ว

    Felt very comprehensive. Thanks !

  • @nixes1636
    @nixes1636 9 หลายเดือนก่อน

    Your videos are so great. Hope you make more.

  • @ap6471
    @ap6471 3 ปีที่แล้ว

    Underrated channel dude. Thanks !

  • @proalexv
    @proalexv ปีที่แล้ว +1

    Great Video! To claify, HTTP is a format to send data via the internet to other computers. Is this a good way to summarize it?

  • @frankrye3009
    @frankrye3009 6 ปีที่แล้ว +1

    Definitely learnt something here. Thanks a lot!!!

  • @nobody-ho4rh
    @nobody-ho4rh 6 ปีที่แล้ว +6

    brother please make some videos on cookies also . i want to understand them

  • @ycombinator765
    @ycombinator765 4 ปีที่แล้ว

    everything aside, your voice is on another level. I don't know but I am in love with it!

  • @imadabab
    @imadabab 4 ปีที่แล้ว +1

    Excellent tutorial. Thanks a lot.

  • @pragyamaru1985
    @pragyamaru1985 ปีที่แล้ว +1

    Informative.

  • @basilokumu
    @basilokumu 7 ปีที่แล้ว

    Thank you so much, this is the best explanation of how HTTP works, and I like the way you use the graphics to explain what you are talking about, simple, clear and concise.

  • @nishanthsubramanya1931
    @nishanthsubramanya1931 6 ปีที่แล้ว +3

    Hands Down! Best One

  • @Mr19242
    @Mr19242 6 ปีที่แล้ว +3

    Just amazing video on HTTP :)

  • @hb2917
    @hb2917 5 ปีที่แล้ว

    Thanks for the video simple and straightforward

  • @Myfriendmrlack
    @Myfriendmrlack 2 ปีที่แล้ว +1

    Can you explain a little more specifically and detailed how the http message gets from your computer to the service and back? For instance, does you browser run methods that invoke your OS to send it to your modem which runs code to send it to some service center that then runs code to send it to the server and then repeats the process all the way back and read again by your browser? How are all these things authenticated? This is just my guess but I've never seen it explained in that type of detail

  • @bintehawa7712
    @bintehawa7712 4 ปีที่แล้ว

    Amazing upload more and more vedio good way of teaching .
    God bless you .
    Keep it up,
    From Pakistan 🇵🇰

  • @catsworld8409
    @catsworld8409 6 ปีที่แล้ว

    Super delivery of message nice and thank you

  • @Arganoid
    @Arganoid 7 ปีที่แล้ว

    The middle box in the "user case" at 7:41 has been copy/pasted from the request's user case. eg "Host" is not a header parameter in the response.

  • @Major7Sharp5
    @Major7Sharp5 7 ปีที่แล้ว +2

    thank you for the explanation !

  • @Metrostar95
    @Metrostar95 5 ปีที่แล้ว

    Thank you for this video! very helpful!

  • @uchep3616
    @uchep3616 8 ปีที่แล้ว

    Thank you. This video is awesome and so simplified :)

  • @yusufalfatih8276
    @yusufalfatih8276 8 ปีที่แล้ว

    مشكوووور علي الفيديو اخ ايوب . ياريت لو تنزل فيدوهات اكتر

    • @TheTechCave
      @TheTechCave  7 ปีที่แล้ว

      Hey! Thanks Yusuf! New videos will be uploaded soon. Stay Tuned! ;)

  • @ricen0odle118
    @ricen0odle118 4 ปีที่แล้ว

    finally a video that explains this well, thx

  • @devongrey1237
    @devongrey1237 4 ปีที่แล้ว

    this is such a great explanation

  • @QuinnFavo
    @QuinnFavo 3 ปีที่แล้ว

    Clear and concise, thanks

  • @VinyZikss
    @VinyZikss 5 ปีที่แล้ว +1

    I love finding new accents and stuff, so, out of curiosity, what part of the world are you from?

    • @TheTechCave
      @TheTechCave  5 ปีที่แล้ว +1

      Morocco :)

    • @VinyZikss
      @VinyZikss 5 ปีที่แล้ว +1

      @@TheTechCave That's very cool thanks :)

  • @srb1855
    @srb1855 3 ปีที่แล้ว +2

    Thank you for the informative video. I have however a question regarding the connectionless nature of http as per your explanation. Since HTTP/S runs on top of TCP 80 / 443 which is a connection-oriented protocol, why then is HTTP considered connectionless?

  • @jayasreemp4053
    @jayasreemp4053 6 ปีที่แล้ว

    Thankyou so much..got clear basic idea about this topic!

  • @shivambharati1338
    @shivambharati1338 3 ปีที่แล้ว

    Thanks for such great knowledge

  • @priyavarghese8142
    @priyavarghese8142 4 ปีที่แล้ว

    Hello, this video is very helpful, simple and easily understandable.

  • @kianooshmashayekhi2829
    @kianooshmashayekhi2829 5 ปีที่แล้ว

    good and informative . providing free information is a nice job

  • @emanuelgabbay
    @emanuelgabbay 6 ปีที่แล้ว

    Thanks! Very well explained

  • @vladimirchudyk995
    @vladimirchudyk995 5 ปีที่แล้ว

    Thanks m8! A lot of concepts cleared out! :)

  • @mohangupta5114
    @mohangupta5114 6 ปีที่แล้ว

    Thanks for making such a good video and sharing your knowledge

  • @mingjiesong5042
    @mingjiesong5042 5 ปีที่แล้ว +1

    Thank you this video is so helpful !!!

  • @bikashyadav1421
    @bikashyadav1421 4 ปีที่แล้ว

    Very well said Sir.
    Thank you very much

  • @osamaato921
    @osamaato921 ปีที่แล้ว +2

    Sound quality should be considered

  • @universenerdd
    @universenerdd 4 ปีที่แล้ว +1

    I was going to POST an http joke, but you might not GET it

  • @donpagnotta
    @donpagnotta 8 วันที่ผ่านมา

    Wait. Isn't the URI in the Start Line of the HTTP Message actually a URN?

  • @pratikdhore1006
    @pratikdhore1006 5 ปีที่แล้ว +1

    Http is stateless not connectionless. As it uses TCP it couldn’t be connectionless.

  • @RAGHAVENDRASINGH17
    @RAGHAVENDRASINGH17 7 ปีที่แล้ว +2

    Nice explanation, thanks

  • @domaincontroller
    @domaincontroller 4 ปีที่แล้ว

    very good....teaching skills

  • @computereverywhere230
    @computereverywhere230 5 ปีที่แล้ว

    It was really helpful👍👍👍

  • @sagisar
    @sagisar 3 ปีที่แล้ว

    man that's an amazing video.. so clearly explained by you, thank you!!

  • @Xatex18
    @Xatex18 8 ปีที่แล้ว +1

    It was helpful. Thank you.

  • @danci947
    @danci947 6 ปีที่แล้ว

    Very useful video. Thank you so much.

  • @timurbabadjanov9115
    @timurbabadjanov9115 6 ปีที่แล้ว

    Awesome! Thank you very much!

  • @swapnilkrishnaupadhyay3385
    @swapnilkrishnaupadhyay3385 6 ปีที่แล้ว +2

    Good explanation bro

  • @UsefulProgrammer
    @UsefulProgrammer 6 ปีที่แล้ว

    Thanks for this. It's a great start to HTTP, but I'm looking for something a LOT more detailed with practice work. Do you have any suggestions?

    • @TheTechCave
      @TheTechCave  6 ปีที่แล้ว +1

      You can dive deeper through detailed books like "Restful Web Services" by Richardson and Ruby. In terms of practice, side projects using public APIs or develop your own Complex API.

    • @hoax_abhii
      @hoax_abhii 3 ปีที่แล้ว +1

      @@TheTechCave that's nice thanks for this info 🙂

  • @timothy627
    @timothy627 2 ปีที่แล้ว +1

    SHERIFF IS THE HTTP all levels's and watching all ping and web internet all watching every thing

  • @wilmsg3875
    @wilmsg3875 4 ปีที่แล้ว +1

    Well explained. Love it :)

  • @arhabersham
    @arhabersham 6 ปีที่แล้ว +1

    Why this video doesn't have more views?

  • @joseangelservin4724
    @joseangelservin4724 4 ปีที่แล้ว

    Nice Video, good explanation

  • @bohyun611
    @bohyun611 4 ปีที่แล้ว +2

    thanks, great content!

  • @LiEnby
    @LiEnby 3 ปีที่แล้ว

    1:24 ? wtf no-
    the client stays connected until the server has the response ready and then it connects and sends it the response and only after its sent the response from the server does it disconnect .. it is re-established again for the next request (at least in http1.1, http2.0 is different)

  • @sneakyboii732
    @sneakyboii732 8 หลายเดือนก่อน

    dang, this video's good, thanks for the info

  • @sensesound1359
    @sensesound1359 4 ปีที่แล้ว

    2:12 anew? is it again?

  • @amanjat5609
    @amanjat5609 5 ปีที่แล้ว +1

    A Big Thankyou SIR
    This video has cleared all my doubts.
    I am from INDIA.

  • @augischadiegils.5109
    @augischadiegils.5109 3 ปีที่แล้ว +1

    ♥️♥️♥️

  • @nicolegillett6949
    @nicolegillett6949 3 ปีที่แล้ว

    really excellent video, cheers

  • @mexicanmoustache8180
    @mexicanmoustache8180 7 ปีที่แล้ว

    Very informative video! thanks! :D

  • @alabaccar2179
    @alabaccar2179 5 ปีที่แล้ว

    Well organized and explained tutorial

  • @shekog2789
    @shekog2789 8 ปีที่แล้ว

    very clear thank you very much my friend

  • @yiannisserpico2646
    @yiannisserpico2646 5 ปีที่แล้ว +2

    It is an excellent learning video. Thank you teacher for sharing your knowledge!

  • @aybrl
    @aybrl 6 ปีที่แล้ว

    The same name, the same passion and maybe the same country hahaha keep it up bro :D

    • @TheTechCave
      @TheTechCave  6 ปีที่แล้ว

      Yup! Your family name is common in my region!

  • @juice0331
    @juice0331 7 ปีที่แล้ว

    very well explained thank you

  • @max31505
    @max31505 4 ปีที่แล้ว

    very helpful ,thank you

  • @Criteria12
    @Criteria12 7 ปีที่แล้ว +2

    you have a little mistake. the request and response happens in the same connection
    the client:-
    1- open a connection to server
    2- send request
    The server:-
    1- accept connection
    2-accept request
    3- send response
    4- close the connection

    • @mohsenmadi3590
      @mohsenmadi3590 6 ปีที่แล้ว +1

      Sounds so correct. This is what I always knew of until the video confused me actually. No such thing as connect-to-server, close, connect-to-client, close. It's only a connect-to-server, do things, send back response, close. Here: en.wikipedia.org/wiki/HTTP_persistent_connection

  • @jagadeeshtadi
    @jagadeeshtadi 5 ปีที่แล้ว

    @The TechCave I must say that is a pretty good content to learn. However, I would like understand HTTP thoroughly. Could you please suggest a way to achieve this or even a book would do ?
    Thank you in adavance.