Searched refs:addheader (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_MimeWriter.py | 203 toplevel.addheader("From", "bwarsaw@cnri.reston.va.us") 204 toplevel.addheader("Date", "Mon Feb 12 17:21:48 EST 1996") 205 toplevel.addheader("To", "kss-submit@cnri.reston.va.us") 206 toplevel.addheader("MIME-Version", "1.0") 222 md1.addheader("KP-Metadata-Type", "simple") 223 md1.addheader("KP-Access", "read-only") 226 m.addheader("KPMD-" + key, value) 234 md2.addheader("KP-" + key, value) 247 md3.addheader("KP-" + key, value) 261 buyer.addheader("KP-Module-Name", "BuyerKP") [all …]
|
/external/python/cpython2/Lib/ |
D | MimeWriter.py | 96 def addheader(self, key, value, prefix=0): member in MimeWriter 140 self.addheader("Content-Type", ctype, prefix=prefix)
|
D | httplib.py | 257 def addheader(self, key, value): member in HTTPMessage 344 self.addheader(headerseen, line[len(headerseen)+1:].strip())
|
D | urllib.py | 177 def addheader(self, *args): member in URLopener
|
/external/python/cpython2/Doc/library/ |
D | mimewriter.rst | 38 .. method:: MimeWriter.addheader(key, value[, prefix]) 59 declaration. *prefix* functions as in :meth:`addheader` except that the default
|
D | email.rst | 258 * The method :meth:`addheader` was renamed to
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1722 def addheader(self, *args): member in URLopener
|