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. The author knows of no cases where this actually matters in practice.

Example:

plugin :status_303