Skip to content
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
This repository was archived by the owner on Dec 20, 2018. It is now read-only.

AddRedirectToHttps ignores statusCode #172

Closed
@cincuranet

Description

@cincuranet

When using the AddRedirectToHttps with statusCode, the statusCode is ignored. It's always 302. Same applies for AddRedirectToHttpsPermanent where 301 is expected.

I believe the problem is in RedirectToHttpsRule class here. It's using the Redirect, which defaults to 302 and the StatusCode property is ignored.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions