Fix detection of HTML accept header so that requests for non-HTML resources can still get through to the proxy
Merge pull request #1263 from aexmachina/fix-html-header-detection

Fix detection of HTML accept header