changed to look at all HTTP_ACCEPT headers

Why not to loop into all HTTP_ACCEPT headers supplied by the browser?