Skip to content

OPTIONS calls don't get passed to application in Jetty #205

@retoo

Description

@retoo

This is the same problem as in #153, but this time with Jetty instead of Tomcat. Jetty's implementation of DefaultServlet#doOptions sets both 'Allow' and 'Date' and therefore slips through the fix in #153.

  1. install rack-cors gem
  2. configure policy, ensure it runs with webrick
  3. deploy app in jetty-runner / war (using jruby-rack)
  4. Only Allow and Date are set, rack-cors will not be called

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions