|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /usr/lib/python3/dist-packages/twisted/web/__pycache__/ |
Upload File : |
o
�b�R � @ s& d Z ddlZddlmZ ddlmZ ddlmZmZm Z m
Z
ddlmZm
Z
mZ ddlmZ ddlmZmZ ddlmZ dd lmZmZmZ d
ZdZdd
� ZG dd� de
�ZG dd� d�ZG dd� dej�Z G dd� de �Z!dd� Z"G dd� dej#�Z$dZ%G dd� dej&�Z'G dd� d�Z(g d�Z)dS ) z�
A generic resource for publishing objects via XML-RPC.
Maintainer: Itamar Shtull-Trauring
@var Fault: See L{xmlrpclib.Fault}
@type Fault: L{xmlrpclib.Fault}
� N)�urlparse)�Binary�Boolean�DateTime�Fault)�defer�error�protocol)�Logger)�failure�reflect)�nativeString)�http�resource�server�A �B c C s
d| _ | S )a\
Decorator to cause the request to be passed as the first argument
to the method.
If an I{xmlrpc_} method is wrapped with C{withRequest}, the
request object is passed as the first argument to that method.
For example::
@withRequest
def xmlrpc_echo(self, request, s):
return s
@since: 10.2
T)�withRequest)�f� r �4/usr/lib/python3/dist-packages/twisted/web/xmlrpc.pyr "