redirect-to (which is what that example uses) defaults to `temporarily`,
but you can just pass `permanently` for the 301.

Jay

On Thu, Mar 10, 2016 at 5:05 PM, 'John Clements' via Racket Users <
racket-users@googlegroups.com> wrote:

>
> > On Mar 10, 2016, at 1:39 PM, Marc Kaufmann <marc.kaufman...@gmail.com>
> wrote:
> >
> > Hi all,
> >
> > I am trying to redirect HTTP requests to the web server (on port 80) to
> HTTPS request on port 443. Is there an easy way to do this? I found the
> following answer from 2012, but figured that there might be a simpler way
> now (plus, Jay's answer mentions that there is an easier way if I do not
> care treating port 80 or 443 differently - and I want to use HTTPS all the
> time, essentially).
> >
> > https://lists.racket-lang.org/users/archive/2012-April/051523.html
>
> Isn’t the “right thing” here to issue a “301 moved permanently” to keep
> the browser in the loop?
>
> John
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to