Corrected problem where uninitialized config key 'static' caused key error to be thrown even when accept header wasn't set to 'text/html'.