Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

urllib2: post request to textarea

9 views
Skip to first unread message

bfrederi

unread,
Apr 9, 2010, 6:42:23 PM4/9/10
to
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?

Thanks,
Brandon

Tim Roberts

unread,
Apr 10, 2010, 12:36:30 AM4/10/10
to

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, ti...@probo.com
Providenza & Boekelheide, Inc.

0 new messages