HTTP: Hypertext Transfer Protocol (article) | Khan Academy (2024)

Want to join the conversation?

Log in

  • Diarasis Rodriguez

    5 years agoPosted 5 years ago. Direct link to Diarasis Rodriguez's post “What programming language...”

    What programming language is GET/index.html HTTP/1.1 Host:... etc. in? Powershell? JavaScript? Or a unique internet-specific language?

    (11 votes)

    • pamela ❤

      5 years agoPosted 5 years ago. Direct link to pamela ❤'s post “That is not a general-pur...”

      HTTP: Hypertext Transfer Protocol (article) | Khan Academy (4)

      HTTP: Hypertext Transfer Protocol (article) | Khan Academy (5)

      That is not a general-purpose programming language. It is the format of an HTTP request, as specified in the HTTP specification. Anything that wants to understand HTTP requests (like a browser or server) needs to parse them according to the HTTP request format.

      Here's the current HTTP specification:
      https://httpwg.org/specs/rfc7231.html (It's not exactly light reading, specifications have to be very.. specific!)

      (42 votes)

  • Shaimaa

    5 years agoPosted 5 years ago. Direct link to Shaimaa's post “i understand that domain ...”

    i understand that domain is the ruler or the controller , but is there any certain definition for it ?

    (4 votes)

    • axainotalos

      5 years agoPosted 5 years ago. Direct link to axainotalos's post “The word "domain" is defi...”

      HTTP: Hypertext Transfer Protocol (article) | Khan Academy (9)

      The word "domain" is defined a couple different ways, but for the purposes of this topic, you're probably looking for the definition of "domain" meaning (as most people use it) "a domain name."

      A domain name (or just "a domain") is a character string made up of letters, numbers, and in some cases, hyphens (the "-" character), followed by a top-level domain (TLD) suffix, like ".com". For example, "google.com" and "khanacademy.org" are both domains. For "google.com," the character string is "google" and the TLD suffix is ".com". When combined with the right preceding syntax, they can be used to build a URL (Unifrom Resource Locator), such as "https://www.google.com". Often, browsers use various means to simplify or shorten the part of the domain that is visible in the URL bar, so that sometimes you only see "google.com", instead of the whole URL, "https://www.google.com". This is just to make it look a little less visually confusing, but don't worry, the browser still has the full URL there, and knows where to go.

      Domains are uniquely controlled by a single owner, and reserved under the authority of the internet's organization for domain authority (currently the IANA, or Internet Assigned Numbers Authority), and licensed to owners (like me, or you, or the company that owns Google, or anyone that wants to reserve a domain name) for exclusive use in multiples of one year, starting from the time of successful domain registration. The companies that are authorized by IANA to register these domains on behalf of owners are called "domain registrars." Two examples of such registrars are GoDaddy and Porkbun.

      The thing is that, it's not actually just the domain itself that is, as you call it, "the ruler or the controller," it's a combination the domain "google.com" and the IP address of the server that contains the data of that website, associated together by a loose confederation of specialized servers called "DNS servers" whose job it is to know where to send people who are looking for a particular domain name. So, for example, someone who goes to "google.com" will arrive at a server with an IP address of 172.217.22.78 because all the DNS servers agree that that's where Google's home page is stored. The processes involved are a little more detailed, but that's how it works on the surface. That pairing of domain name and IP address (paired together by the domain name system, or "DNS," servers) is what "rules" the set of connections that are discussed in this lesson and related ones.

      Does that help to answer your question?

  • haq.haris28

    2 years agoPosted 2 years ago. Direct link to haq.haris28's post “So the http request is pu...”

    So the http request is put inside an ip packet, which is then used to get and recieve messages form the website's server?

    (4 votes)

    • HannibalTheCannonball

      2 years agoPosted 2 years ago. Direct link to HannibalTheCannonball's post “Yes. The IP packet is the...”

      Yes. The IP packet is the data that the client is requesting. HTTP (or HTTPS) is the protocol for the data in the data field of the IP packet. The server would send a back a response (200 - OK, 404 - Not Found, 403 - Forbidden, etc.) depending on what the backend result is. If it was a webpage, it would then send the packets back to the client to display.

      (7 votes)

  • Steven Wells

    2 years agoPosted 2 years ago. Direct link to Steven Wells's post “When looking at the respo...”

    When looking at the response tabs for a youtube video what are all the question marks inside of black diamonds? Missing or corrupted packets?

    (4 votes)

    • KLaudano

      2 years agoPosted 2 years ago. Direct link to KLaudano's post “They are likely bytes tha...”

      They are likely bytes that equate to ASCII characters that cannot be printed.

      (6 votes)

  • Jcim Grant

    2 years agoPosted 2 years ago. Direct link to Jcim Grant's post “Is HTTP used on every int...”

    Is HTTP used on every internet website URL?

    (4 votes)

  • Mae

    4 years agoPosted 4 years ago. Direct link to Mae's post “How do you view HTTP requ...”

    How do you view HTTP requests on Firefox?

    (3 votes)

    • Evan

      4 years agoPosted 4 years ago. Direct link to Evan's post “Once you visit a URL, rig...”

      Once you visit a URL, right click on the page and select "Inspect Element". Then click on the Network tab. Finally, reload the page. The HTTP requests should show up on the left. You can click on them to view their header attributes. Hope this works!

      (5 votes)

  • Ellen Johnson

    4 years agoPosted 4 years ago. Direct link to Ellen Johnson's post “is there a video option a...”

    is there a video option available ?

    (4 votes)

    • ahad.55jm

      3 months agoPosted 3 months ago. Direct link to ahad.55jm's post “https://youtu.be/eesqK59r...”

      https://youtu.be/eesqK59rhGA?si=LAWZC3Oy6gk-kBru

      That YouTube video explains it very well

      (1 vote)

  • |MR-NUCLEAR-RETURNS|™

    2 years agoPosted 2 years ago. Direct link to |MR-NUCLEAR-RETURNS|™'s post “How do I transfer images ...”

    How do I transfer images into my code?

    (1 vote)

    • WRaven

      a year agoPosted a year ago. Direct link to WRaven's post “if you're talking about H...”

      if you're talking about HTML/CSS code, you just use the <img> tag and give it a source(src) URL of the image that you want to display.

      Example: <img src="place your-image-url-here"

      If you're talking about Javascript code, you simply use image(imageURL, x, y, width*, height*);

      Example: image(URL-of-a-cool-image, 150, 200, 40, 30)

      Those are the only two forms of code i know that can have images.
      Hope this helps!

      (7 votes)

  • layaz7717

    4 years agoPosted 4 years ago. Direct link to layaz7717's post “Do the HTTP responses act...”

    Do the HTTP responses actually have "OK" in them, or does the 200 stand for "OK"?

    (2 votes)

    • dannyhpy

      2 years agoPosted 2 years ago. Direct link to dannyhpy's post “The "200" is the status c...”

      The "200" is the status code.
      The "OK" is the status text.
      Both of them are included in the HTTP response.
      The status text is intended for humans.

      (4 votes)

  • NAVEED RIAZ

    4 years agoPosted 4 years ago. Direct link to NAVEED RIAZ's post “Hello again, why do some ...”

    Hello again, why do some websites ask to accept the cookies or something like that? Is it matter of legal right?

    (0 votes)

HTTP: Hypertext Transfer Protocol (article) | Khan Academy (2024)

References

Top Articles
Latest Posts
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 6102

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.