Skip to content

Commit

Permalink
Brotli content-encoding renamed to 'br'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed Mar 15, 2017
1 parent dfed4ad commit c916b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpbin/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def brotli(f, *args, **kwargs):

if isinstance(data, Response):
data.data = deflated_data
data.headers['Content-Encoding'] = 'brotli'
data.headers['Content-Encoding'] = 'br'
data.headers['Content-Length'] = str(len(data.data))

return data
Expand Down

0 comments on commit c916b21

Please sign in to comment.