urllib2: post request to textarea
Tim Roberts
timr at probo.com
Sat Apr 10 00:36:30 EDT 2010
bfrederi <brfredericks at gmail.com> wrote:
>
>I'm getting a 500 error when attempting to make a post request with
>urllib2 to a form with a <textarea> tag. When I create the post
>request with all the other post data, I don't get a 500. Just the part
>of the form that is a <textarea>. Is this just a coincidence, and my
>real problem is something else?
It's just a coincidence. The contents of a <textarea> are transmitted
exactly like the contents of an <input type=text>. My guess is that you
did the encoding improperly.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list