That doesn't seem to work for me, attached are the server I'm using for testing, a throw away cert and private key, and a test script to request the page over https and http.
I am using Racket v5.3.0.9 HTTPS is served fine, but the HTTP requests returns empty. Thanks, Jordan
server.rkt
Description: Binary data
private-key.pem
Description: Binary data
cert.pem
Description: Binary data
test.rkt
Description: Binary data
On Tue, 29 May 2012 00:52:37 -0600, Jay McCarthy <[email protected]> wrote: > Yes, just use the #:ssl keywords to serve/servlet and the servlet will > be served from both HTTP and HTTPS. > > Jay > > On Mon, May 28, 2012 at 10:36 PM, Jordan Schatz <[email protected]> wrote: > > > > Is it possible to serve http and https from the same servlet? > > > > I would like to serve most of my application over SSL, but have a way to > > redirect people from http to https. > > > > - Jordan > > ____________________ > > Racket Users list: > > http://lists.racket-lang.org/users > > > > -- > Jay McCarthy <[email protected]> > Assistant Professor / Brigham Young University > http://faculty.cs.byu.edu/~jay > > "The glory of God is Intelligence" - D&C 93
____________________ Racket Users list: http://lists.racket-lang.org/users

