module Roda::RodaPlugins::Status303

  1. lib/roda/plugins/status_303.rb

The status_303 plugin sets the default redirect status to be 303 rather than 302 when the request is not a GET and the redirection occurs on an HTTP 1.1 connection as per RFC 7231. There are some frontend frameworks that require this behavior.

Example:

plugin :status_303