I want to Cache based on HTTP header .How can I do that

Platform: ASP.NET|Category: Output Caching
<%@OutputCache ... VaryByHeader='UserAgent' %>

or

<%@ OutputCache ... VaryByHeader='Accept-Language' %>