When nsIHttpActivityObserver.ACTIVITY_SUBTYPE_RESPONSE_HEADER event is
fired headers are passed into a registered callback as a string, but
empty headers are missing.
Headers can be also iterated using
nsIHttpRequest.visitResponseHeaders, but it works the same - empty
headers are not there.
Here is a simple example:
Load this page: http://stevesouders.com/images/twitter-icon.png
- the server sends empty "ETag" header.
Is this expected behavior?
Is there any way to somehow get even empty headers?
Honza
For now, yes.
> Is there any way to somehow get even empty headers?
For now, not really.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=669259
-Boris