remove BaseRequest and BaseResponse

This commit is contained in:
David Lord 2021-01-29 10:38:40 -08:00
parent fdba0d2526
commit 1936ca8a2e
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
5 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ from werkzeug.routing import Map
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.wrappers import BaseResponse
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import json

View file

@ -5,7 +5,7 @@ import werkzeug.test
from click.testing import CliRunner
from werkzeug.test import Client
from werkzeug.urls import url_parse
from werkzeug.wrappers import BaseRequest
from werkzeug.wrappers import Request as BaseRequest
from . import _request_ctx_stack
from .cli import ScriptInfo

View file

@ -113,7 +113,7 @@ class Response(ResponseBase):
def max_cookie_size(self):
"""Read-only view of the :data:`MAX_COOKIE_SIZE` config key.
See :attr:`~werkzeug.wrappers.BaseResponse.max_cookie_size` in
See :attr:`~werkzeug.wrappers.Response.max_cookie_size` in
Werkzeug's docs.
"""
if current_app: