wsgiref.handlers.BaseHandler.get_scheme()

get_scheme()

Return the URL scheme being used for the current request. The default implementation uses the guess_scheme() function from wsgiref.util to guess whether the scheme should be “http” or “https”, based on the current request’s environ variables.

doc_python
2016-10-07 17:47:28
Comments
Leave a Comment

Please login to continue.