# Path: starlette/types.py



import io
import math
import sys
import typing
import warnings
import anyio
from starlette.types import Receive, Scope, Send



warnings.warn(
    "starlette.middleware.wsgi is deprecated and will be removed in a future release. "
    "Please refer to https://github.com/abersheeran/a2wsgi as a replacement.",
    DeprecationWarning,
)



# Path: starlette/types.py



# Path: starlette/middleware/wsgi.py
import io
import math
import sys
import typing
import warnings
import anyio
from starlette.types import Receive, Scope, Send




warnings.warn(
    "starlette.middleware.wsgi is deprecated and will be removed in a future release. "
    "Please refer to https://github.com/abersheeran/a2wsgi as a replacement.",
    DeprecationWarning,
)



def build_environ(scope: Scope, body: bytes) -> dict: