Method: flask.app.Flask.full_dispatch_request
Calls: 424, Exceptions: 120, Paths: 7Back
Path 1: 310 calls (0.73)
Response (303) None (7)
TypeError (5) ValueError (1) ZeroDivisionError (1)
1def full_dispatch_request(self) -> Response:
2 """Dispatches the request and on top of that performs request
3 pre and postprocessing as well as HTTP exception catching and
4 error handling.
5
6 .. versionadded:: 0.7
7 """
8 self._got_first_request = True
9
10 try:
11 request_started.send(self, _async_wrapper=self.ensure_sync)
12 rv = self.preprocess_request()
13 if rv is None:
14 rv = self.dispatch_request()
15 except Exception as e:
16 rv = self.handle_user_exception(e)
17 return self.finalize_request(rv)
Path 2: 84 calls (0.2)
Response (84)
NotFound (16) Forbidden (16) MethodNotAllowed (15) InternalServerError (9) BadRequest (5) RequestRedirect (2) Exception (1) AppError (1) BlueprintErro...
1def full_dispatch_request(self) -> Response:
2 """Dispatches the request and on top of that performs request
3 pre and postprocessing as well as HTTP exception catching and
4 error handling.
5
6 .. versionadded:: 0.7
7 """
8 self._got_first_request = True
9
10 try:
11 request_started.send(self, _async_wrapper=self.ensure_sync)
12 rv = self.preprocess_request()
13 if rv is None:
14 rv = self.dispatch_request()
15 except Exception as e:
16 rv = self.handle_user_exception(e)
17 return self.finalize_request(rv)
Path 3: 26 calls (0.06)
ZeroDivisionError (10) KeyError (4) BadRequestKeyError (2) Exception (2) Custom (2) ValueError (1) BadRequest (1) NotFound (1) DebugFilesKeyError (1) ...
1def full_dispatch_request(self) -> Response:
2 """Dispatches the request and on top of that performs request
3 pre and postprocessing as well as HTTP exception catching and
4 error handling.
5
6 .. versionadded:: 0.7
7 """
8 self._got_first_request = True
9
10 try:
11 request_started.send(self, _async_wrapper=self.ensure_sync)
12 rv = self.preprocess_request()
13 if rv is None:
14 rv = self.dispatch_request()
15 except Exception as e:
16 rv = self.handle_user_exception(e)
17 return self.finalize_request(rv)
Path 4: 1 calls (0.0)
Response (1)
1def full_dispatch_request(self) -> Response:
2 """Dispatches the request and on top of that performs request
3 pre and postprocessing as well as HTTP exception catching and
4 error handling.
5
6 .. versionadded:: 0.7
7 """
8 self._got_first_request = True
9
10 try:
11 request_started.send(self, _async_wrapper=self.ensure_sync)
12 rv = self.preprocess_request()
13 if rv is None:
14 rv = self.dispatch_request()
15 except Exception as e:
16 rv = self.handle_user_exception(e)
17 return self.finalize_request(rv)
Path 5: 1 calls (0.0)
KeyboardInterrupt (1)
1def full_dispatch_request(self) -> Response:
2 """Dispatches the request and on top of that performs request
3 pre and postprocessing as well as HTTP exception catching and
4 error handling.
5
6 .. versionadded:: 0.7
7 """
8 self._got_first_request = True
9
10 try:
11 request_started.send(self, _async_wrapper=self.ensure_sync)
12 rv = self.preprocess_request()
13 if rv is None:
14 rv = self.dispatch_request()
15 except Exception as e:
16 rv = self.handle_user_exception(e)
17 return self.finalize_request(rv)
Path 6: 1 calls (0.0)
ZeroDivisionError (1)
1def full_dispatch_request(self) -> Response:
2 """Dispatches the request and on top of that performs request
3 pre and postprocessing as well as HTTP exception catching and
4 error handling.
5
6 .. versionadded:: 0.7
7 """
8 self._got_first_request = True
9
10 try:
11 request_started.send(self, _async_wrapper=self.ensure_sync)
12 rv = self.preprocess_request()
13 if rv is None:
14 rv = self.dispatch_request()
15 except Exception as e:
16 rv = self.handle_user_exception(e)
17 return self.finalize_request(rv)
Path 7: 1 calls (0.0)
Response (1)
RequestEntityTooLarge (1)
1def full_dispatch_request(self) -> Response:
2 """Dispatches the request and on top of that performs request
3 pre and postprocessing as well as HTTP exception catching and
4 error handling.
5
6 .. versionadded:: 0.7
7 """
8 self._got_first_request = True
9
10 try:
11 request_started.send(self, _async_wrapper=self.ensure_sync)
12 rv = self.preprocess_request()
13 if rv is None:
14 rv = self.dispatch_request()
15 except Exception as e:
16 rv = self.handle_user_exception(e)
17 return self.finalize_request(rv)