R. David Murray added the comment: It turns out the new header parsing code also missed this error recovery. Or, rather, it recovers from it by completely ignoring the parameter with the bad syntax.
I haven't worked out a solution that does more useful error recovery yet, but I'm posting an updated patch with tests for the new parser and something that may (or may not!) be heading in the direction of a fix, in case anyone else wants to work on it before I get back to it. ---------- Added file: http://bugs.python.org/file29781/rfc2231_issue17369_in_progress.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com