From: Klesh Date: 2008-10-16T23:16:07+09:00 Subject: [ruby-core:19350] Net::HTTP.post_form bug : can't post form to correct uri which contains QueryString(QueryString part are lost) and revise Hi, When I tried to do post_form to some url like "http://localhost/api.asp?Action=Check", the api.asp can never received Query part "Check", so I check out code of post_form method. found the following code was totally ignore query part: def HTTP.post_form(url, params) req = Post.new(url.path) req.form_data = params req.basic_auth url.user, url.password if url.user new(url.host, url.port).start {|http| http.request(req) } end this problem was fixed by changing req = Post.new(url.path) to req = Post.new(url.request_uri) Best Regards Klesh Wong