[docs] Documentation Bug: PythonHosted.org: feedparser 5.1.3 : HTTP Features

Pearce, Lyall lyall.pearce at hp.com
Thu May 9 01:32:52 CEST 2013


I hope this is the right place to send this...

http://pythonhosted.org/feedparser/http-other.html#sending-custom-http-request-headers

>>> import feedparser
>>> d = feedparser.parse('http://feedparser.org/docs/examples/atom03.xml',
                          extra_headers={'Cache-control': 'max-age=0'})


Should be

>>> import feedparser
>>> d = feedparser.parse('http://feedparser.org/docs/examples/atom03.xml',
                          request_headers={'Cache-control': 'max-age=0'})


Lyall Pearce
Application Services

Lyall.Pearce at HP.com<mailto:Lyall.Pearce at HP.com>
T +61 8 8464 1356<tel:+61%208%208464%201356>
M+61 419 811 701<tel:+61%20419%20811%20701>
Hewlett-Packard Enterprise Services - South Pacific<http://hp.com/>
Level 10, 108 North Terrace
Adelaide, South Australia, 5000<http://maps.google.com/maps?q=106+North+Terrace,+Adelaide,+South+Australia,+Australia&hl=en&ll=-34.922118,138.596099&spn=0.001324,0.003184&sll=-34.92185,138.59571&sspn=0.001324,0.003184&hnear=106+North+Terrace,+Adelaide+South+Australia+5000,+Australia&t=m&z=19>
Australia<http://maps.google.com/maps?q=106+North+Terrace,+Adelaide,+South+Australia,+Australia&hl=en&ll=-27.916767,133.505859&spn=45.822563,104.326172&sll=-34.92185,138.59571&sspn=0.001324,0.003184&hnear=106+North+Terrace,+Adelaide+South+Australia+5000,+Australia&t=m&z=4>
Timezone: ACDT<http://timeanddate.com/library/abbreviations/timezones/au/cdt.html> +9:30

[Description: HP logo]

Please print thoughtfully

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130508/1dd1b8ea/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2361 bytes
Desc: image001.png
URL: <http://mail.python.org/pipermail/docs/attachments/20130508/1dd1b8ea/attachment-0001.png>


More information about the docs mailing list