GNUnet 0.21.1
httpdomain.httpdomain.CORSRef Class Reference
Inheritance diagram for httpdomain.httpdomain.CORSRef:
[legend]
Collaboration diagram for httpdomain.httpdomain.CORSRef:
[legend]

Public Member Functions

def __init__ (self, name, type)
 
def __init__ (self, name, type)
 
- Public Member Functions inherited from httpdomain.httpdomain.DocRef
def __init__ (self, base_url, anchor, section)
 
def __repr__ (self)
 
def __init__ (self, base_url, anchor, section)
 
def __repr__ (self)
 

Additional Inherited Members

- Data Fields inherited from httpdomain.httpdomain.DocRef
 base_url
 
 anchor
 
 section
 

Detailed Description

Represents a reference to W3 Cross-Origin Resource Sharing recommendation.

Definition at line 78 of file httpdomain.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def httpdomain.httpdomain.CORSRef.__init__ (   self,
  name,
  type 
)

Reimplemented from httpdomain.httpdomain.DocRef.

Definition at line 81 of file httpdomain.py.

81 def __init__(self, name, type):
82 url = 'http://www.w3.org/TR/cors/'
83 super(CORSRef, self).__init__(url, name, '-' + type)
84
85
86#: Mapping from lowercase HTTP method name to :class:`DocRef` object which
87#: maintains the URL which points to the section of the RFC which defines that
88#: HTTP method.

References httpdomain.httpdomain.CORSRef.__init__().

Referenced by httpdomain.httpdomain.CORSRef.__init__().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ __init__() [2/2]

def httpdomain.httpdomain.CORSRef.__init__ (   self,
  name,
  type 
)

Reimplemented from httpdomain.httpdomain.DocRef.

Definition at line 81 of file httpdomain.py.

81 def __init__(self, name, type):
82 url = 'http://www.w3.org/TR/cors/'
83 super(CORSRef, self).__init__(url, name, '-' + type)
84
85
86#: Mapping from lowercase HTTP method name to :class:`DocRef` object which
87#: maintains the URL which points to the section of the RFC which defines that
88#: HTTP method.

References httpdomain.httpdomain.CORSRef.__init__().

Here is the call graph for this function:

The documentation for this class was generated from the following files: