GNUnet  0.20.0
httpdomain.httpdomain.RFC2616Ref Class Reference
Inheritance diagram for httpdomain.httpdomain.RFC2616Ref:
[legend]
Collaboration diagram for httpdomain.httpdomain.RFC2616Ref:
[legend]

Public Member Functions

def __init__ (self, section)
 
- 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 RFC2616.
In 2014, RFC2616 was replaced by multiple RFCs (7230-7237).

Definition at line 53 of file httpdomain.py.

Constructor & Destructor Documentation

◆ __init__()

def httpdomain.httpdomain.RFC2616Ref.__init__ (   self,
  section 
)

Definition at line 57 of file httpdomain.py.

57  def __init__(self, section):
58  url = 'http://www.w3.org/Protocols/rfc2616/rfc2616-sec{0:d}.html'
59  url = url.format(int(section))
60  super(RFC2616Ref, self).__init__(url, 'sec', section)
61 
62 

References consensus-simulation.int.


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