Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-591

Multiple ACCEPT Headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • Web Services
    • None

    Description

      The current implementation only supports single HTTP accept headers with comma separated values. Following the RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 ) multiple (accept) headers are allowed as well.

      This behaviour is implemented for example by OpenRDF Alibaba:

      POST /marmotta/sparql/select HTTP/1.1
      Content-Type: application/x-www-form-urlencoded; charset=utf-8
      Accept: application/x-binary-rdf-results-table;q=0.8
      Accept: application/sparql-results+xml
      Accept: application/xml
      ...

      The current implementation returns a HTTP 415 (Unsupported Media Type
      ) because only the format application/x-binary-rdf-results-table is considered.

      Attachments

        Issue Links

          Activity

            People

              wikier Sergio Fernández
              schlegel Kai Schlegel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified