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

Поділитися
Вставка
  • Опубліковано 6 жов 2024

КОМЕНТАРІ • 260

  •  8 років тому +386

    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 7 років тому +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 6 років тому +1

      👍

  • @Berjoujii
    @Berjoujii 5 років тому +21

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

  • @Metroidam11
    @Metroidam11 5 років тому +2

    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!

  • @seeboonsoo
    @seeboonsoo 8 років тому +65

    Best video ever to explain HTTP protocol. 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 роки тому +2

    This is a crystal clear explanation for beginners like me

  • @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 !!

  • @edwardkasimir8016
    @edwardkasimir8016 3 роки тому +4

    this video begins at 0:33

  • @Leonardo-jv1ls
    @Leonardo-jv1ls 5 років тому +18

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

  • @MajdyCalisthenics
    @MajdyCalisthenics 2 роки тому +1

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

  • @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

  • @mahditeymuri5650
    @mahditeymuri5650 3 роки тому

    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

  • @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.

  • @kyi3234
    @kyi3234 Рік тому +1

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

  • @ontologie8667
    @ontologie8667 2 роки тому +1

    very nice explanation, many thanks dude.

  • @sachinmavi1381
    @sachinmavi1381 5 років тому +2

    Bro, UDP is connectionless but TCP is connection-oriented. So, HTTP is connection-oriented as it follows TCP

  • @sanjitpaul2953
    @sanjitpaul2953 3 роки тому

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

  • @TheTechCave
    @TheTechCave  2 роки тому +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

  • @Criteria12
    @Criteria12 6 років тому +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 5 років тому +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

  • @amanjat5609
    @amanjat5609 5 років тому +1

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

  • @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!!

  • @osamaato921
    @osamaato921 Рік тому +2

    Sound quality should be considered

  • @pratikdhore1006
    @pratikdhore1006 4 роки тому +1

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

  • @JorgeCasasLópez
    @JorgeCasasLópez 9 місяців тому

    Great resource to learn about HTTP. Thanks for posting

  • @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?

  • @nobody-ho4rh
    @nobody-ho4rh 6 років тому +6

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

  • @joshuaf.5398
    @joshuaf.5398 2 роки тому +1

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

  • @namanmehta5243
    @namanmehta5243 7 років тому +2

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

  • @구독계-l7q
    @구독계-l7q 3 роки тому

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

  • @ChicagoHoodlum
    @ChicagoHoodlum 8 років тому +3

    Thank you, good explanation of what HTTP is!

  • @affy2255
    @affy2255 2 роки тому +1

    Great video! Thank you so much!

  • @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?

  • @sharinglanguage
    @sharinglanguage 2 роки тому +1

    Simple and clear, very good. Thank you.

  • @ycombinator765
    @ycombinator765 4 роки тому

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

  • @VineetKumar1993
    @VineetKumar1993 8 років тому

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

  • @zoverlvx8094
    @zoverlvx8094 6 років тому +2

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

  • @ap6471
    @ap6471 2 роки тому

    Underrated channel dude. Thanks !

  • @nishanthsubramanya1931
    @nishanthsubramanya1931 6 років тому +3

    Hands Down! Best One

  • @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

  • @masegomsomi
    @masegomsomi 4 роки тому +1

    This video is extremely helpful!! Thank you!

  • @nixes1636
    @nixes1636 5 місяців тому

    Your videos are so great. Hope you make more.

  • @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.

  • @priyavarghese8142
    @priyavarghese8142 4 роки тому

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

  • @wemode2998
    @wemode2998 4 роки тому

    Felt very comprehensive. Thanks !

  • @bintehawa7712
    @bintehawa7712 4 роки тому

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

  • @yiannisserpico2646
    @yiannisserpico2646 5 років тому +2

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

  • @sahilsinghrawat1378
    @sahilsinghrawat1378 6 років тому

    Hi, web devcave you explained about http is much usefully for me and i i learned more form this video, now i want to learned about "Www(world Wide Web)" in detail. So please upload About "www".

  • @ZzBiazZ
    @ZzBiazZ 5 років тому +1

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

  • @frankrye3009
    @frankrye3009 6 років тому +1

    Definitely learnt something here. Thanks a lot!!!

  • @imadabab
    @imadabab 3 роки тому +1

    Excellent tutorial. Thanks a lot.

  • @hb2917
    @hb2917 4 роки тому

    Thanks for the video simple and straightforward

  • @Mr19242
    @Mr19242 6 років тому +3

    Just amazing video on HTTP :)

  • @jayasreemp4053
    @jayasreemp4053 6 років тому

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

  • @VinyZikss
    @VinyZikss 4 роки тому +1

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

    • @TheTechCave
      @TheTechCave  4 роки тому +1

      Morocco :)

    • @VinyZikss
      @VinyZikss 4 роки тому +1

      @@TheTechCave That's very cool thanks :)

  • @sagisar
    @sagisar 2 роки тому

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

  • @RAGHAVENDRASINGH17
    @RAGHAVENDRASINGH17 6 років тому +2

    Nice explanation, thanks

  • @catsworld8409
    @catsworld8409 5 років тому

    Super delivery of message nice and thank you

  • @keeranmnc1605
    @keeranmnc1605 6 років тому

    Excellent Video. Thanks. I however feel the connectionless explanation is misleading.
    HTTP 0.9 and 1.0 uses transitory connections where, after the TCP connection is established between the client and the server, a SINGLE request and response exchange can occur, thereafter the TCP connection closes.
    HTTP 1.1, which is ubiquitous on the web today , supports the use of persistent connections where the TCP connection is kept open until all HTTP requests and responses are done. It can also use pipelining where the client can send multiple HTTP requests before the initial corresponding HTTP responses are received. This minimizes the load, memory and network congestion on the server.

  • @bohyun611
    @bohyun611 4 роки тому +2

    thanks, great content!

  • @ricen0odle118
    @ricen0odle118 4 роки тому

    finally a video that explains this well, thx

  • @mohangupta5114
    @mohangupta5114 6 років тому

    Thanks for making such a good video and sharing your knowledge

  • @riebedepauw6564
    @riebedepauw6564 Рік тому +5

    every time you say an S it makes my ears pop. good video but pls get a better microphone

  • @swapnilkrishnaupadhyay3385
    @swapnilkrishnaupadhyay3385 5 років тому +2

    Good explanation bro

  • @yusufalfatih8276
    @yusufalfatih8276 7 років тому

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

    • @TheTechCave
      @TheTechCave  7 років тому

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

  • @Major7Sharp5
    @Major7Sharp5 7 років тому +2

    thank you for the explanation !

  • @QuinnFavo
    @QuinnFavo 3 роки тому

    Clear and concise, thanks

  • @wzup23
    @wzup23 2 місяці тому

    Dude you're a legend!

  • @bikashyadav1421
    @bikashyadav1421 4 роки тому

    Very well said Sir.
    Thank you very much

  • @emanuelgabbay180
    @emanuelgabbay180 6 років тому

    Thanks! Very well explained

  • @baryaley
    @baryaley 2 роки тому +1

    Which book is best?

  • @shivambharati1338
    @shivambharati1338 3 роки тому

    Thanks for such great knowledge

  • @wilmsg3875
    @wilmsg3875 4 роки тому +1

    Well explained. Love it :)

  • @Metrostar95
    @Metrostar95 4 роки тому

    Thank you for this video! very helpful!

  • @uchep3616
    @uchep3616 8 років тому

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

  • @danci947
    @danci947 6 років тому

    Very useful video. Thank you so much.

  • @mingjiesong5042
    @mingjiesong5042 5 років тому +1

    Thank you this video is so helpful !!!

  • @vladimirchudyk995
    @vladimirchudyk995 5 років тому

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

  • @kianooshmashayekhi2829
    @kianooshmashayekhi2829 5 років тому

    good and informative . providing free information is a nice job

  • @domaincontroller
    @domaincontroller 4 роки тому

    very good....teaching skills

  • @devongrey1237
    @devongrey1237 4 роки тому

    this is such a great explanation

  • @Xatex18
    @Xatex18 7 років тому +1

    It was helpful. Thank you.

  • @makshrech1263
    @makshrech1263 Рік тому +1

    2023 still awesome!

  • @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 🙂

  • @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.

  • @modolief
    @modolief 2 роки тому +1

    1:18 - Three important things about the http protocol

  • @alabaccar2179
    @alabaccar2179 5 років тому

    Well organized and explained tutorial

  • @manishasharma-xz9tx
    @manishasharma-xz9tx 7 років тому +2

    sir I have one query about when client disconnected from the server then how can server re- establish the connection...how server knows about the request

    • @manishasharma-xz9tx
      @manishasharma-xz9tx 7 років тому

      plz rply sir 😯

    • @TheTechCave
      @TheTechCave  7 років тому +3

      Hey manisha! I'm sorry for the late reply. After a request is made, the server receives all the required data about the client to operate an send back the response. When the client receives the response, the disconnection happens in the application layer. On the low levels, nothing gets really disconnected. The server knows about thanks to the TCP layer. I hope this helps. And Sorry for my late reply again!

    • @blackmouthblackface
      @blackmouthblackface 4 роки тому

      Good pick up, this is a mistake in the slide. The client waits for the response before disconnecting from the server because otherwise how would the server know who to deliver the response to, and if it did this would not be 'connectionless'

  • @aqibfayyaz1619
    @aqibfayyaz1619 5 років тому

    Very well explained thank you

  • @litocroy7147
    @litocroy7147 Місяць тому

    "Protocol" is literally specified within "HTTP". Who's gonna tell him?

  • @nicolegillett6949
    @nicolegillett6949 3 роки тому

    really excellent video, cheers

  • @arhabersham
    @arhabersham 5 років тому +1

    Why this video doesn't have more views?

  • @sneakyboii732
    @sneakyboii732 5 місяців тому

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

  • @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)

  • @mexicanmoustache8180
    @mexicanmoustache8180 7 років тому

    Very informative video! thanks! :D

  • @universenerdd
    @universenerdd 4 роки тому +1

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

  • @joseangelservin4724
    @joseangelservin4724 4 роки тому

    Nice Video, good explanation

  • @timurbabadjanov9115
    @timurbabadjanov9115 5 років тому

    Awesome! Thank you very much!

  • @h.bahrami110
    @h.bahrami110 8 років тому +1

    Thanks, it was best video i ever seen about http, pls let me know do you have any video about php and web servers ?

    • @TheTechCave
      @TheTechCave  7 років тому

      Hey Hossein! Thanks for your kind comment. New videos will be uploaded soon about web engineering and development. however, I will be doing that using Nodejs .

  • @nataliamaclou8596
    @nataliamaclou8596 7 років тому

    Thanks! Great insight!