Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/web/__pycache__/ |
Upload File : |
o �bn � @ sP d Z ddlZddlmZ ddlmZmZmZ G dd� dej�Z G dd� d�Z dS ) z� SOAP support for twisted.web. Requires SOAPpy 0.10.1 or later. Maintainer: Itamar Shtull-Trauring Future plans: SOAPContext support of some kind. Pluggable method lookup policies. � N)�defer)�client�resource�serverc @ sJ e Zd ZdZdZdZdd� Zdd� Zdd � Zd d� Z dd � Z ddd�ZdS )� SOAPPublisherz�Publish SOAP methods. By default, publish methods beginning with 'soap_'. If the method has an attribute 'useKeywords', it well get the arguments passed as keyword args. � zUTF-8c C s t | d| d�S )z�Lookup published SOAP function. Override in subclasses. Default behaviour - publish methods starting with soap_. @return: callable or None if not found. zsoap_%sN)�getattr)�self�functionName� r �2/usr/lib/python3/dist-packages/twisted/web/soap.py�lookupFunction( s zSOAPPublisher.lookupFunctionc C s� |j �� }t�|ddd�\}}}}|j|j|j}}} t|�r#|� }t| �r*| � } | �|�} | s:| � ||� t jS t| d�rZi }| � � D ] \}} | |t|�<