Respond with 406 Not Acceptable instead of 500 when the request contains a malformed Accept header such as "foo".
This gets rid of the following compiler warning: the regexp module is deprecated (will be removed in R15A); use the re module instead
…age of macros
…consult in wmtrace
(patch from Tuncer Ayaz <email@example.com>)