discens/aspnetwebapi-outputcache — pull request #1 by discens (2013-02-21 10:37:17+00:00)
Title: Update WebApiOutputCacheAttribute.cs

I have found another bug. An exception occurs when no Accept headers are passed in with the request.

This causes a NullReferenceException.

I have changed it to use "Default" if no Accept header has been passed in.

You may well have a better way of achieving this, so please refactor as you see fit.