Note to Self: Parsing the Accepts Header Apr 27th, 2009 Here’s an easy-to-follow snippet for the next time you need to parse an Accepts header. Back to flipping out…