NuGet/NuGetGallery — comment on commit d70ddd0884193af5c29223dfc2797fc664268a47
File:  line 0
By maartenba:

The OData ones are different. On MyGet we use a Windows Azure startup script to set these:

@echo off

REM This script will only execute on Windows Azure environments.
REM It enables dynamic compression on OData feeds as per
REM http://www.hanselman.com/blog/EnablingDynamicCompressionGzipDeflateForWCFDataFeedsODataAndOtherCustomServicesInIIS7.aspx

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/json',enabled='True']" /commit:apphost
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/atom%%u002bxml',enabled='True']" /commit:apphost
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/atom%%u002bxml;charset=utf-8',enabled='True']" /commit:apphost