Skip to content

Permanent redirect pushing wrong status code? #242

Closed
@adamgotterer

Description

@adamgotterer
redirect 'http://www.github.com', :permanent => true

This will push a status of 304. Shouldn't the status be 301?

endpoint.rb:

      if merged_options[:permanent]
        status 304

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions