Bug #1428

Net/http issue

Added by manu (Emmanuel Pinault) about 11 years ago. Updated 11 months ago.

ruby -v:
1.8.7-p160 and ruby 1.8.7-p72


I have been using Net/http on the same distro (ubuntu 9.04 and 8.04 with both version) with the most recent version of 1.8.6 and 1.8.7, but it seems that a regression has been introduced somehow.

I am using Net/Http to perfom POST against the same web server and it use to work fine with 1.8.6 any version. I have seen few post about improving the speed of it. I am wondering if those change could have affected the way POST are being sent.

In fact, the same interface I am doing POST against, slight change on some of the value passed to that Interface behave correctly on 1.8.6 but do not with 1.8.7

i.e: http://myurl/PARENTAL=Off&USER=BILLY vs i.e: http://myurl/PARENTAL=OFF&USER=BILLY

and on 1.8.6 I get the expected response on with both URL, but on 1.8.7, I get a different response while I should be getting the same response , like in 1.8.6..

I am wondering if the way socket have been optimized is causing some issues?

I have done a wireshark on it and could not see anything obvious on the HTTP level.. so it must be at a lower level I believe.


Updated by naruse (Yui NARUSE) almost 11 years ago

  • Status changed from Open to Feedback

show more detailed example so that we can reproduce the problem.


Updated by jeremyevans0 (Jeremy Evans) 11 months ago

  • Status changed from Feedback to Closed
  • Description updated (diff)

Also available in: Atom PDF