[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #21036 [Metrics/Onionoo]: Onionoo doesn't return JSON for error responses
#21036: Onionoo doesn't return JSON for error responses
-----------------------------+------------------------------
Reporter: lukechilds | Owner: metrics-team
Type: defect | Status: closed
Priority: Low | Milestone:
Component: Metrics/Onionoo | Version:
Severity: Minor | Resolution: not a bug
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+------------------------------
Changes (by lukechilds):
* status: new => closed
* resolution: => not a bug
Comment:
Yeah fair enough, I've just a had a look around and found a few other APIs
that also return HTML for errors. Just using the response codes seems
perfectly reasonable.
I still think JSON errors would be preferable but I suppose this is more
of a design decision than a bug.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21036#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs