About 2,080,000 results
Open links in new tab
  1. How's file downloaded by the browser over HTTP

    Oct 12, 2015 · A Browser sends an http request; The server responds with the file to be downloaded, and adds some HTTP headers (which say that it's a file to be downloaded) usually along these lines: Content-Type: application/octet-stream Content-Disposition: attachment; filename="picture.png"

  2. How exactly does Downloading from a website work?

    Feb 15, 2021 · When you load a web page, the browser uses the same mechanism to download the html and scripts as it does to download a pdf. But the browser does different things with it depending on the content type. If it’s an html file or a file requested by the html, it will render/run it.

  3. Complete guide to file download in browsers - cybercafe.dev

    Dec 7, 2020 · There are two ways by which you can open a file from any site. The first method is quite simple and works like a charm. This article is about the second approach. Apparently downloading a file is not as simple as you might think.

  4. browser retrieves the URL specified in the HTML file when the user clicks the underlined link on the page. If the HTML code specifies a file to be downloaded, the browser down-loads the file to your computer. 4 The meanings of tags are easily decipherable. Every HTML tag, or instruction, is surrounded by a less-than and a greater-than sign—<P>.

  5. How browsers load websites - Learn web development | MDN

    Apr 21, 2025 · In this article we walk through the process by which those technologies are rendered — when a browser has received the code files and other assets that make up a web page (as covered in How the web works), how are they put together to create the finished experience that the user interacts with?

  6. Programmatic file downloads in the browser - DEV Community

    Jul 8, 2019 · Traditionally, the file to be downloaded is first requested from a server through a client — such as a user’s web browser. The server then returns a response containing the content of the file and some instructional headers specifying how the client should download the file.

  7. What exactly happens when you browse a website in your browser?

    This is all transparent to you, even though it's like downloading a ZIP file and unzipping it. When you reload the page, your browser checks if that page is already cached in your system, and if so, it does an HTTP request just for the header of the document, and checks its modified date.

  8. How does browser determine whether to download or show

    Apr 19, 2013 · When you click a link to download a file, the MIME type determines what action is taken.

  9. Programmatically downloading files in the browser

    Aug 14, 2024 · In this article, I will demonstrate how to download files from the internet, both by enforcing the download from the website, as well as with a manual click. After that, we will review content generation in various forms, how to download the generated contents, and how the download attribute works.

  10. How does browser download image and other binary files?

    Sep 3, 2015 · So when you request an image file using http, the server gives you the metadata information such as MIME type, content-length etc. Using this information, the HTTP agent (eg. browser) actually downloads the image directly using TCP and not HTTP.

  11. Some results have been removed
Refresh