c6cc5c When calling flask.abort() specify the description

Authored and Committed by Pierre-Yves Chibon 5 years ago
    When calling flask.abort() specify the description
    
    In the most recent release of werkzeug (0.15.0) some changes around the
    handling of 401 exceptions has changed the order of the arguments.
    Thus making 'flask.abort(401, "something")' not considering "something"
    to be the description of the exception.
    With this commit we specify in all calls to flask.abort() what is the
    description of the error.
    This way, there is no longer any confusion for flask or werkzeug as to
    what we want the description to be.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>
    
        
file modified
+19 -6
file modified
+8 -6
file modified
+6 -3
file modified
+15 -9
file modified
+7 -4
file modified
+6 -6
file modified
+68 -49
file modified
+7 -5
file modified
+39 -30
file modified
+1 -1
file modified
+5 -5
file modified
+102 -63
file modified
+1 -1