Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan committed Jun 27, 2024
1 parent 905d305 commit 038847d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tiled/server/file_response_with_range.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# This is adapted from a closed PR in starlette which was reviewed by
# a core maintainer but put aside for now in favor of other priorities.
# https://github.com/encode/starlette/pull/1999
# This is a variation on starlette's FileRespones that adds support for the
# 'Range' HTTP header.

# It is adapted from a closed PR in starlette which was reviewed by a core
# starlette maintainer but put aside for now in favor of other priorities in
# starlette development. Thus, we implement it here in tiled. If in the future
# starlette adds support upstream, we should consider refactoring to use that.

# Ref: https://github.com/encode/starlette/pull/1999
import os
import stat
import typing
Expand Down

0 comments on commit 038847d

Please sign in to comment.