Skip to content

Commit

Permalink
partially fixed aio-libs#2805
Browse files Browse the repository at this point in the history
  • Loading branch information
Fahrradkette committed Mar 7, 2018
1 parent 6c31dc9 commit 8c84119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/web_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def http_range(self, *, _RANGE=hdrs.RANGE):

if start is None and end is not None:
# end with no start is to return tail of content
end = -end
start = -end

if start is not None and end is not None:
# end is inclusive in range header, exclusive for slice
Expand Down

0 comments on commit 8c84119

Please sign in to comment.