Home
last modified time | relevance | path

Searched refs:addheader (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_MimeWriter.py203 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/
DMimeWriter.py96 def addheader(self, key, value, prefix=0): member in MimeWriter
140 self.addheader("Content-Type", ctype, prefix=prefix)
Dhttplib.py257 def addheader(self, key, value): member in HTTPMessage
344 self.addheader(headerseen, line[len(headerseen)+1:].strip())
Durllib.py177 def addheader(self, *args): member in URLopener
/external/python/cpython2/Doc/library/
Dmimewriter.rst38 .. method:: MimeWriter.addheader(key, value[, prefix])
59 declaration. *prefix* functions as in :meth:`addheader` except that the default
Demail.rst258 * The method :meth:`addheader` was renamed to
/external/python/cpython3/Lib/urllib/
Drequest.py1722 def addheader(self, *args): member in URLopener