Skip to content

Commit

Permalink
Add GZipMiddleware (#2778)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher DeCairos committed Mar 8, 2019
1 parent 68fa68c commit 5213bcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network-api/networkapi/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'networkapi.middleware.ReferrerMiddleware',

'django.middleware.gzip.GZipMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware', # should be after SessionMiddleware and before CommonMiddleware
Expand Down

0 comments on commit 5213bcb

Please sign in to comment.