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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.3.1
    • Component/s: Lookup & Match
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: