Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21044

Rest Server should provide OPTIONS method

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Engineering tracked issues
    • Fix Version/s: 5.3
    • Component/s: Platform > REST API v2
    • Labels:
    • Sprint:
      Ventoux Sprint 1

      Description

      Each REST resource that exists must respond to OPTIONS with a 200 OK.

      Example:

      HTTP Request
      OPTIONS /api/ezp/v2/content/objects HTTP/1.1
      
      HTTP Response
      HTTP/1.1 200 OK
      Allow: POST, GET
      

      This is doable by using the REST routing configuration, and iterating over resources.

      OPTIONS is cacheable by clients.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              christian.bacher-obsolete@ez.no Christian Bacher (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days Original Estimate - 3 days
                  3d
                  Remaining:
                  Time Spent - 3 days, 45 minutes Remaining Estimate - 3 hours, 15 minutes
                  3h 15m
                  Logged:
                  Time Spent - 3 days, 45 minutes Remaining Estimate - 3 hours, 15 minutes
                  3d 45m