ok
Direktori : /opt/alt/python37/lib/python3.7/site-packages/raven/contrib/webpy/__pycache__/ |
Current File : //opt/alt/python37/lib/python3.7/site-packages/raven/contrib/webpy/__pycache__/utils.cpython-37.pyc |
B ��Y� � @ s4 d Z ddlmZ ddlZddlmZmZ dd� ZdS )z� raven.contrib.webpy.utils ~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. � )�absolute_importN)�get_headers�get_environc C sV ddt jd t jd t jd f t jjt jjt �� ttt jj��ttt jj��d�iS )z,Returns request data extracted from web.ctx.Zrequestz %s://%s%sZprotocolZhost�path)ZurlZquery_string�method�dataZheaders�env) �webZctxZqueryr r �dictr �environr � r r �J/opt/alt/python37/lib/python3.7/site-packages/raven/contrib/webpy/utils.py�get_data_from_request s r )�__doc__Z __future__r r Zraven.utils.wsgir r r r r r r �<module> s