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

Rest Server should provide OPTIONS method

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: High High
    • 5.3
    • Engineering tracked issues
    • Platform > REST API v2
    • 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

        Activity

          People

            Unassigned Unassigned
            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