soup-headers: Update UTF-8 header param handling for RFC 5987
authorDan Winship <danw@gnome.org>
Mon, 4 Apr 2011 17:18:36 +0000 (13:18 -0400)
committerDan Winship <danw@gnome.org>
Thu, 7 Apr 2011 12:36:07 +0000 (08:36 -0400)
commitd94e3e1abfecad4c2f64b44db854352d946d7551
tree88148f1af4405cafd0d8b6afae95ca12a845e5cc
parent1fe4cf274f059d3d81308b19ba080212abb6ba20
soup-headers: Update UTF-8 header param handling for RFC 5987

Update the handling of UTF-8 header parameters for the
changes/clarifications to RFC 2231 published in RFC 5987:

    * Decode iso-8859-1 params in addition to UTF-8 ones
    * An encoded UTF-8 param should override an unencoded param
      of the same name, regardless of which order they appear in
libsoup/soup-headers.c