Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-273

Picard should use the correct Accept header when talking to web services.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.3.1
    • 1.1
    • Lookup & Match
    • None

      When picard requests information on a release, it doesn't seem to set any Accept header.

      Now that I'm adding json to the musicbrainz webservice, setting the accept header to either application/xml or application/json will switch between them. For now I will keep xml as the default, but in the future we may want to return 406 for requests without an accept header.

            outsidecontext Philipp Wolfer
            warp Kuno Woudt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                1.3.1