Skip to content

HTTP Status Code 301 #6

@freeman-g

Description

@freeman-g

@adamar I followed your great example, thanks it was a big help.

FYI - I noticed one issue with using HTTP Status Code 301. In certain cases my browser would no longer hit the originally requested URL, I assume due to the code 301, "Moved Permanently".

So I started using 302 instead, like this:

http.Redirect(w, req, "/login", 302)

Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions