mfuhr / fuhr.org (Michael Fuhr) writes: > Lloyd Zusman <ljz / asfast.com> writes: > >> To the entire group: I'm still wondering why Net::HTTP#post does not >> automatically set Content-Type to application/x-www-form-urlencoded. > > Under ruby 1.8.2 (2004-11-08) it does, but if you run with -w (or > $VERBOSE=true) then you get the following warning: > > net/http: warning: Content-Type did not set; using > application/x-www-form-urlencoded > > Under ruby 1.9.0 (2004-11-09) it neither sets Content-Type nor > prints the warning. Hmm ... so it looks like that feature was removed in the later version of the code. If so, does anyone know why? The 1.8.2 behavior seems quite sensible to me. -- Lloyd Zusman ljz / asfast.com God bless you.