Last modified: 2010-07-10 10:40:21 UTC
At the moment when you encounter an error with the API, it can be difficult to trace that problem to a specific srv, because the api doesn't usually render in html. If possible we should find a way to expose the number trough a HTML response header or something.
Obviously, only if the setting for it is set ;) We get a HTML comment on normal pages... And as a HTML comment in pretty printed api pages... Should be trivial ish, if we can think of a sane way to do it.
Just add it unconditionally to ApiResult.
Done in r69231, with unrelated stuff removed in the following commit.