Skip to content
darwin edited this page Sep 13, 2010 · 36 revisions

FireLogger Protocol

FireLogger content is sent from server to client via HTTP headers. To be safe it is BASE64 encoded UTF-8 JSON broken into multiple FireLogger headers.

Server can send multiple log packets in one response. That is why each FireLogger header has hex id which should be assigned by server (for example FirePython generates this as random ID).

There are two main reasons:

  1. we don’t want to interfere with response content (it may be anything from HTML, javascript, CSS or unknown binary data)
  2. to keep it simple and safe (opening other communication channel with server would be non-trivial – you know firewalls and such)
Clone this wiki locally