Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes Class Reference

List of all members.

Public Member Functions

def __init__
def getheaders

Public Attributes


Detailed Description

A headers adapter for cookielib

Definition at line 114 of file

Constructor & Destructor Documentation

Definition at line 118 of file

00119     def __init__(self, headers):
00120         self.headers = headers

Member Function Documentation

Definition at line 121 of file

00122     def getheaders(self, name):
00123         headers = []
00124         name = name.lower()
00125         for k, v in self.headers:
00126             if k.lower() == name:
00127                 headers.append(v)
00128         return headers

Member Data Documentation

Definition at line 119 of file

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