What is the apistar way to redirect to https

Hey there!

I have to force https for my app. More concretely, I have to check the “X-Forwarded-Proto” header and redirect to https. What is the apistar way of doing it?

Should all routes require request=http:Request, I check the header and redirect? Probably not?

Should I write a decorator?

Is there another way?