urllib2: post request to textarea

2010-04-09 Thread bfrederi
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
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: urllib2: post request to textarea

2010-04-09 Thread Tim Roberts
bfrederi brfrederi...@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, t...@probo.com
Providenza  Boekelheide, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-list