-
Notifications
You must be signed in to change notification settings - Fork 13
Home
darwin edited this page Sep 13, 2010
·
36 revisions
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:
- we don’t want to interfere with response content (it may be anything from HTML, javascript, CSS or unknown binary data)
- to keep it simple and safe (opening other communication channel with server would be non-trivial – you know firewalls and such)