MozillaZine

Browser.download.saveLinkAsFilenameTimeout

From MozillaZine Knowledge Base

Contents

Background

Some URLs use Content-Disposition headers to tell browsers what to use for a filename when saving a file. This filename may not match the URL. When choosing “Save Link As...” from a link’s context menu, Mozilla must request the URL to find out the filename from a Content-Disposition header. Since this is not as fast as merely using the URL itself to generate a filename, Mozilla will time out after a short time waiting for the headers. This preference determines that timeout.

Possible values and their effects

Number of milliseconds to wait when retrieving the filename from Content-Disposition headers before resorting to the original URL’s filename. Default is 1000 (1 second).

First checked in

2008-02-29 by Dan Mosedale

Has an effect in

  • Firefox (nightly builds since 2008-04-03)

Related bugs