toolbelt
toolbelt copied to clipboard
Update host_header_ssl.py
- This also works for CNAME
- I think host_header = request.headers.get('Host',None) is enouth,because request.headers is a CaseInsensitiveDict
- I found that "server_hostname" must be set to make it work
- Only ”https“ url need to do this