[Python-bugs-list] [Bug #122236] 11.4.2 Example 2 contains typos and one bug

noreply@sourceforge.net noreply@sourceforge.net
Fri, 17 Nov 2000 10:04:24 -0800

Bug #122236, was updated on 2000-Nov-12 08:00
Here is a current snapshot of the bug.

Project: Python
Category: Documentation
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: 11.4.2 Example 2 contains typos and one bug

In 11.4.2 Example 2:

Two typos:

h.send(paramstring) -> h.send(params)

print errorcode -> print result

One bug:

For it to work (for example, with an Apache 1.3.14 server and php 4.0), you need this line just after the POST line:

h.putheader("Content-type", "application/x-www-form-urlencoded")

Scott Schram


Date: 2000-Nov-17 10:04
By: fdrake

Fixed & checked in as Doc/lib/libhttplib.tex revision 1.22.

For detailed info, follow this link: