In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
It is believed that many inexperienced people have no idea about the advantages of Python 2.6over Python 3.0.Therefore, this article summarizes the causes and solutions of the problem, and through this article I hope you can solve this problem.
For URLs that use the * .appspot.com domain, Google App Engine supports secure connections through HTTPS. If a request uses HTTPS to access the URL, and the URL is configured to use HTTPS in the app.yaml file, the sender needs to encrypt the request and response data before sending it, and the recipient needs to decrypt it when it is received. Secure connections help protect customer data, such as contact information, passwords, and private messages.
HTTPS is not currently supported in the Google enterprise application suite domain. HTTPS support is limited to applications accessed through the * .appspot.com domain. Accessing the HTTPS URL on the Google Enterprise Application Suite domain will return a "host not found" error, while using HTTP to access a URL whose handler accepts only HTTPS (see below) will return a HTTP 403 "No access" error.
For security reasons, you can link to a HTTPS URL with a * .appspot.com domain in Python 2.6 and use the Enterprise Application Suite domain and HTTP for the rest of the site.
To configure the URL to accept secure connections, provide the handler with the secure parameter:
Handlers:-url: / youraccount/.* script: accounts.py login: required secure: always
Secure has three possible values:
* never. With the handler (using HTTPS)
Requests for matching URLs will be automatically redirected to HTTP synonymous URLs.
This is the default setting when no secure is provided for the handler.
* always. With the handler (do not use HTTPS)
Requests for matching URLs will be automatically redirected to HTTPS URLs of the same path.
Keep the query parameters for redirection.
* optional. HTTP and HTTPS for URLs that match the handler
All requests will be successful and no redirection is required. The application can check the request to determine where
The protocol used and respond accordingly.
After reading the above, have you mastered the advantages of Python 2.6 over Python 3.0? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.