a
    QSic½  ã                   @   s8   d Z ddlZdd„ Zdd„ Zdd„ Zd	d
„ Zdd„ ZdS )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   ú^/var/www/html/django/DPS/env/lib/python3.9/site-packages/urllib3/contrib/_appengine_environ.pyÚis_appengine   s    r   c                   C   s   t ƒ otjd dk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_RUNTIMEZpython27)r   ÚosÚenvironr   r   r   r   Úis_appengine_sandbox   s    r
   c                   C   s   dt jv ot j dd¡ d¡S )Nr   ÚSERVER_SOFTWAREÚ zDevelopment/©r   r	   ÚgetÚ
startswithr   r   r   r   r      s
    ÿþr   c                   C   s   dt jv ot j dd¡ d¡S )Nr   r   r   zGoogle App Engine/r   r   r   r   r   r      s
    ÿþr   c                   C   s   dS )zDeprecated.Fr   r   r   r   r   Úis_prod_appengine_mvms"   s    r   )Ú__doc__r   r   r
   r   r   r   r   r   r   r   Ú<module>   s   
