Comment 7 for bug 1442710

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to wsme (master)

Reviewed: https://review.openstack.org/172520
Committed: https://git.openstack.org/cgit/stackforge/wsme/commit/?id=e31045e57a102182d33252e3a6b07ddfa9488ebe
Submitter: Jenkins
Branch: master

commit e31045e57a102182d33252e3a6b07ddfa9488ebe
Author: Chris Dent <email address hidden>
Date: Fri Apr 10 18:41:32 2015 +0100

    Multiple protocol accept or content-type matching

    The changes in 8710dabb652dae775dee31789e91608f832e62e6 broke
    protocol failover when the REST protocol is listed before others
    (see bug referenced below).

    This patch tries to solve both issues by trying to match accept over all
    the protocols, only giving up a 406 or 415 if all protocols fail, using
    the last failure as the error message.

    Related-Bug: #1419110
    Closes-Bug: #1442710
    Change-Id: I328a392151013c46207519c245213d5dec48ecc9