Allow to parse Accept header like the following (done by jquery ajax request):
   Accept: application/json, text/javascript, */*; q=0.01