DescriptionImprove json_response to allow adjusting the HTTP code.
Conservatively utilizes the new json_response behavior. For apis which claim
to respond with JSON, we should always respond with JSON. However, I know that
some of the non-JSON responses may be expected by clients, so I don't correct
everything that I could correct.
R=maruel@chromium.org
BUG=
Patch Set 1 #Patch Set 2 : Use STATUS_CODE instead of special string #
Total comments: 1
MessagesTotal messages: 11
|