What is the role of the Content-Disposition header in file downloading?

  • Indicates the file size
  • Manages file encryption
  • Prompts for download
  • Specifies the file type
The Content-Disposition header plays a crucial role in file downloading by prompting the browser to download the file instead of displaying it. It specifies the disposition of the content, ensuring a proper download experience for users.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *