�
-�c� � �0 � d Z ddlZd� Zd� Zd� Zd� Zd� ZdS )zB
This module provides means to detect the App Engine environment.
� Nc �: � t � � p
t � � S )N)�is_local_appengine�is_prod_appengine� � �D/usr/lib/python3/dist-packages/urllib3/contrib/_appengine_environ.py�is_appenginer s � ����6�#4�#6�#6�6r c �J � t � � ot j d dk S )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_RUNTIME�python27)r �os�environr r r �is_appengine_sandboxr s � � �>�>�K�b�j�)<�=��K�Kr c � � dt j v o2t j � dd� � � d� � S )Nr �SERVER_SOFTWARE� zDevelopment/�r
r �get�
startswithr r r r r s: � ��"�*�,� !������2�2� 2��j�� � �!r c � � dt j v o2t j � dd� � � d� � S )Nr r r zGoogle App Engine/r r r r r r s; � ��"�*�,� '������2�2� 2��j�%�&�&�'r c � � dS )zDeprecated.Fr r r r �is_prod_appengine_mvmsr " |