Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

Search Support

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 reply
  • 1 has this problem
  • 79 views
  • Last reply by 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

Chosen Solution