Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions slowapi/util.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from starlette.requests import Request

# The functions below are provided for convenience and for use in tests.
# They are not robust, as the number of issues about them will attest, and
# correcting them for the numerous variations of possible setups is out of
# scope for slowapi.

def get_ipaddr(request: Request) -> str:
"""
Expand Down
Loading