Hi all,
I recently realized that request.URL.Scheme is not the correct field to 
check whether a request is https or not (thank you to this thread 
<https://groups.google.com/forum/#!searchin/golang-nuts/https$20redirect|sort:date/golang-nuts/pMUkBlQBDF0/hifgmKvCAAAJ>
 
and other posts on the internet). Once I've determined that the request is 
http, what do I set the request.TLS to to ensure the redirect is https?
Thanks,
Julia

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9a23f15a-e398-4f7d-9a1c-12990f41d136%40googlegroups.com.

Reply via email to