Project

General

Profile

Actions

Bug #4769

closed

Default flask.abort handlers return HTTP for JSON API request.

Added by Jan Mach almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development - GUI
Target version:
Start date:
02/19/2019
Due date:
% Done:

100%

Estimated time:
To be discussed:

Description

While most of the code written by us correctly returns JSON response for API requests, there are some occasions (like built-in authentication/authorization errors) on which HTTP response is returned, which hampers the use of API interface.

Actions

Also available in: Atom PDF