| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/werkzeug/routing/__pycache__/ |
Upload File : |
�
��b� � �X � d dl Z d dlZddlmZ ddlmZ ddlmZ ddlmZ ej rd dl
mZ dd lm
Z
dd
lmZ ddlmZ ddlmZ G d
� de� � Z G d� dee� � Z G d� de� � Z G d� de� � Z G d� dee� � Z G d� de� � Z G d� de� � ZdS )� N� )�
BadRequest)�
HTTPException)�cached_property)�redirect)�WSGIEnvironment� )�
MapAdapter)�Rule)�Request)�Responsec � � e Zd ZdZdS )�RoutingExceptionzxSpecial exceptions that require the application to redirect, notifying
about missing urls, etc.
:internal:
N��__name__�
__module__�__qualname__�__doc__� � �=/usr/lib/python3/dist-packages/werkzeug/routing/exceptions.pyr r s � � � � � �� � � r r c � � � e Zd ZdZdZdeddf� fd�Z ddej ej d d ej e
dd
fd�Z� xZS )
�RequestRedirectz�Raise if the map requests a redirect. This is for example the case if
`strict_slashes` are activated and an url that requires a trailing slash.
The attribute `new_url` contains the absolute destination url.
i4 �new_url�returnNc �X �� t � � � |� � || _ d S �N)�super�__init__r )�selfr � __class__s �r r zRequestRedirect.__init__"