This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Inspecting headers of file download

  • 1 (رد واحد)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه cor-el

more options

I compile a custom version of Firefox for personal use, and want to understand where to find something in the source code that I can't seem to find myself from documentation or manual searching.

I want to programmatically (i.e. from within the Firefox source) inspect the HTTP headers of all file downloads I initiate, potentially preventing the download if I see a certain header value. Anyone have a good idea of where in the source to do this?

I compile a custom version of Firefox for personal use, and want to understand where to find something in the source code that I can't seem to find myself from documentation or manual searching. I want to programmatically (i.e. from within the Firefox source) inspect the HTTP headers of all file downloads I initiate, potentially preventing the download if I see a certain header value. Anyone have a good idea of where in the source to do this?

Modified by ryan.eckenrod

All Replies (1)

more options

الحل المُختار