✏️ 编辑:_appengine_environ.cpython-39.opt-1.pyc
路径:
/usr/lib/python3.9/site-packages/urllib3/contrib/__pycache__/_appengine_environ.cpython-39.opt-1.pyc
大小:1.34 KB · 修改:2026-06-25 00:14:56 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
a t~�`� � @ s8 d Z ddlZdd� Zdd� Zdd� Zd d � Zdd� ZdS ) zB This module provides means to detect the App Engine environment. � Nc C s t � p t� S )N)�is_local_appengine�is_prod_appengine� r r �F/usr/lib/python3.9/site-packages/urllib3/contrib/_appengine_environ.py�is_appengine s r c C s t � otjd dkS )a# Reports if the app is running in the first generation sandbox. The second generation runtimes are technically still in a sandbox, but it is much less restrictive, so generally you shouldn't need to check for it. see https://cloud.google.com/appengine/docs/standard/runtimes �APPENGINE_RUNTIMEZpython27)r �os�environr r r r �is_appengine_sandbox s r c C s dt jv ot j�dd��d�S )Nr �SERVER_SOFTWARE� zDevelopment/�r r �get� startswithr r r r r s ��r c C s dt jv ot j�dd��d�S )Nr r r zGoogle App Engine/r r r r r r s ��r c C s dS )zDeprecated.Fr r r r r �is_prod_appengine_mvms"