luckyllama/LuckyAssetManager — pull request #13 by iurisilvio (2012-04-16 20:29:08+00:00)
Title: Accept-Encoding is an option HTTP header

First of all, I'm getting this exception:

```
System.NullReferenceException: Object reference not set to an instance of an object.
at Lucky.AssetManager.Web.AssetsHandler.TryGzipEncodePage(HttpContextBase context) in F:\LuckyAssetManager\Lucky.AssetManager\Web\AssetsHandler.cs:line 66
at Lucky.AssetManager.Web.AssetsHandler.ProcessRequest(HttpContextBase context) in F:\LuckyAssetManager\Lucky.AssetManager\Web\AssetsHandler.cs:line 36
```

Based in w3 RFC [1], Accept-Encoding is an optional parameter, so sometimes I get `acceptEncoding=null`, which breaks the `ProcessRequest`.

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html