Open
Bug 226626
Opened 22 years ago
Updated 11 years ago
Add X-Bugzilla-Error: xxx header
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Bugzilla
Bugzilla-General
Tracking
()
NEW
People
(Reporter: matthew, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6a) Gecko/20031030
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6a) Gecko/20031030
It would be great to have an HTTP header detailing what the Bugzilla error was
during a query. This would allow a program consuming RDF bug lists to be able
to determine the error, rather than having to HTTP scrape for it. I would propose:
X-Bugzilla-Error: Reason for error
Thoughts?
Reproducible: Always
Steps to Reproduce:
Updated•22 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Comment 1•22 years ago
|
||
I believe our RDF schema allows for error messages to be encoded in it (it
should if it doesn't). The best way to deal with this is probably to get some
of these files that deal with multiple content-types to return error messages in
the content-type that was requested instead of falling back on HTML when there's
an error.
Comment 2•22 years ago
|
||
hmm, since we are actually using CGI to build our headers now, it would be
fairly trivial to return HTTP status codes that are correct for the type of
error, too. Unfortunately, that would probably cause problems for people using
Internet Explorer because of its "User friendly error pages"
| Reporter | ||
Comment 3•22 years ago
|
||
Note that "friendly error messages" can be disabled by sending a large enough
amount of text (512 characters, I believe).
Updated•21 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•21 years ago
|
||
Reassigning bugs that I'm not actively working on to the default component owner
in order to try to make some sanity out of my personal buglist. This doesn't
mean the bug isn't being dealt with, just that I'm not the one doing it. If you
are dealing with this bug, please assign it to yourself.
Assignee: justdave → query-and-buglist
QA Contact: mattyt-bugzilla → default-qa
Updated•16 years ago
|
Assignee: query-and-buglist → general
Component: Query/Bug List → Bugzilla-General
You need to log in
before you can comment on or make changes to this bug.
Description
•