GNUnet  0.20.0
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)
 
- Public Member Functions inherited from httpdomain.httpdomain.DocRef
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__()

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

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.

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