Closed Bug 394674 Opened 17 years ago Closed 13 years ago

Need a way to retrieve HTTP Headers from an Image Request

Categories

(Core :: Graphics: ImageLib, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gboysko, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

I am looking for a way to retrieve the HTTP Headers returned on an Image request. I would have thought that this is the meaning of Bug 388518, but as per Christian Biesinger, I am creating a new issue. I would have thought that the correct way to do this would be to return an nsIHttpChannel for an image request, but if you can think of a better way, that would be great. 

I am writing a custom extension that reads headers from the image request.

Reproducible: Always

Steps to Reproduce:
See Bug 388518 for an example that demonstrates the problem.

1.
2.
3.
Actual Results:  
No way to retrieve the nsIHttpChannel interface.

Expected Results:  
Expected to get nsIHttpChannel so that I could call methods on it.
Component: General → ImageLib
Product: Firefox → Core
QA Contact: general → imagelib
What does firebug do?
I'm closing since this is a 2007 extension feature request that isn't being worked on. If there is still the need for this please re-open.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.