Thanks for your help, Luca. Could you elaborate a little bit? I am kind of new to this kind of thing. What I am doing is that, I am using django to redirect all url calls to python API to handle something and then return as response. you want me to redirect this http call to where? and where do I setup this redirect? in django? BTW, I am using manage.py run server 0:xxxx, and it started listening to http port.
thanks. /zhenwu On Tuesday, February 11, 2014 6:05:33 PM UTC-8, Luca Corti wrote: > > On 12/feb/2014, at 00:36, zhenwu he <zhen...@gmail.com <javascript:>> > wrote: > > Currently I am using Python Django as my REST framework and it could > take all the calls through http. If I want to switch from http to https, > what should I do to make this work? > > Just issue a redirect to the equivalent HTTPS url from your web server > when the REST API url is called via plain HTTP. > > ciao > > Luca > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7f7a58c9-6bf6-44f5-87be-1041b445eaac%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.