Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-7794

Need a way to ensure POST request is read-only

    Details

      Description

      When running a public SPARQL endpoint, it is often necessary to allow public clients to only execute read requests. Restricting access to GET only allows that, but with the downside that only short (under 8K) queries are allowed. To allow bigger queries - e.g. for federation - POST support is required. However, since POST API supports also writing operations, a mechanism is necessary to ensure the POST request would only execute read operations.

        Activity

        Hide
        stasmalyshev stasmalyshev added a comment -

        Proposal for implementing it: https://github.com/blazegraph/database/pull/51

        Adding X-BIGDATA-READ-ONLY header which would make the database read-only for this request.

        Show
        stasmalyshev stasmalyshev added a comment - Proposal for implementing it: https://github.com/blazegraph/database/pull/51 Adding X-BIGDATA-READ-ONLY header which would make the database read-only for this request.
        Hide
        beebs Brad Bebee added a comment -

        Cherry picked into 2.2.0 and 2.1.5.

        Show
        beebs Brad Bebee added a comment - Cherry picked into 2.2.0 and 2.1.5.
        Hide
        beebs Brad Bebee added a comment -
        Show
        beebs Brad Bebee added a comment - Michael Schmidt thompsonbry

          People

          • Assignee:
            beebs Brad Bebee
            Reporter:
            stasmalyshev stasmalyshev
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: