My favorites | Sign in
Project Home Wiki Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1714: Special HTTP headers for logging into the console
4 people starred this issue and may be notified of changes. Back to list
 
Reported by net...@gmail.com, May 2, 2009
I would like firebug to handle special headers sent by http server, e.g:

console-log: something happened
console-error: something bad happened

just like it handles console.log and console.error

thank you
May 2, 2009
Project Member #1 johnjbar...@johnjbarton.com
Sounds neat. I wonder if there are any security issues?
Summary: Enhancement: copy special HTTP headers into Console
Cc: odvarko johnjbar...@johnjbarton.com
Labels: Type-Enhancement console net 1.4
May 4, 2009
Project Member #2 odva...@gmail.com
I really like this idea. I don't see any security problems, but to make sure I have
asked here:
http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/02c66d1f14b78c8e?hl=en#

This could be implemented in similar manner as XHR Spy (perhaps HeaderSpy?). Also
there could be a new Console panel related option. 
Something like: "Show Server Logs"... ?

Honza
Owner: odvarko
Cc: -odvarko
May 4, 2009
Project Member #3 johnjbar...@johnjbarton.com
The other question is: does this overlap FirePHP; should this be a extension feature
rather than a core feature?
May 4, 2009
Project Member #4 odva...@gmail.com
I guess this is good question for Christoph Dorn. Some kind of core support could
make things easier for FirePHP - and perhaps other similar extensions (like
FireJava?) that are displaying server related logs. 

Hm, looks like I can't directly cc him here.

Honza
May 4, 2009
Project Member #5 christ...@christophdorn.com
There are a whole host of issues to consider once you open the door to such a feature
and they all factor into whether Firebug should support this directly or via an
extension.

I do think it makes sense for firebug to support this to some extent and I would be
happy to contribute the code for it. If you can bear with me for a few days/week I'll
write up a blog post summarizing what needs to be taken into account and what I would
like to see in Firebug in terms of initial support.
May 4, 2009
Project Member #6 odva...@gmail.com
Sounds great, thanks!
Honza
May 18, 2009
Project Member #8 christ...@christophdorn.com
I will not have the post done for another week or two. If you want to chat about it
sooner you can ping me on IRC.
Sep 30, 2009
#9 troel...@gmail.com
So, has it been 2 weeks yet? ;)
Sep 30, 2009
Project Member #10 christ...@christophdorn.com
Hmm. Come and gone. I need to get FirePHP 1.0 and another project out before I can
spend any time on this. :(
Oct 9, 2009
Project Member #11 johnjbar...@johnjbarton.com
Honza, isn't this somehow related to the 
Intercept/modify a network request 
work?
Oct 13, 2009
Project Member #12 odva...@gmail.com
I believe that some underlying APIs/Lib (mainly for dealing with request headers and
hooking event handlers) could be effectively shared. 

Otherwise, I am not sure how, from the user perspective, both things could be integrated.

Just to summarize to see the big picture.

1) Intercept/modify: this should allow breaking on request-send (using a breakpoint)
and modify request-headers. Sub task of this is a persistence allowing to apply
modifications more times automatically for requests to the same URL (issue 2348).

2) Processing Response Headers: this should allow to easily process specific/custom
headers sent by the server. An example of real-case scenario is using response
headers for server side logging into the Firebug Console.

I think, both should use APIs that are extensible and so, other extensions (like
FirePHP, FireJava, etc.) can utilize it and build further specialized set of features
on top of it.

Honza

Oct 13, 2009
Project Member #13 christ...@christophdorn.com
I think that is the right approach: A low-level API for dealing with headers.
Oct 16, 2011
#14 sebastia...@gmx.de
(No comment was entered for this change.)
Status: Triaged
Apr 10, 2013
Project Member #15 sebastia...@gmail.com
(No comment was entered for this change.)
Summary: Special HTTP headers for logging into the console (was: Enhancement: copy special HTTP headers into Console)
Cc: -johnjbar...@johnjbarton.com sebastia...@gmail.com
Sign in to add a comment

Powered by Google Project Hosting