#689: Net::HTTP.post_form() is broken. -----------------------------+---------------------------------------------- Reporter: r...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -----------------------------+----------------------------------------------
Comment(by r...@…): Replying to [ticket:689 r...@…]: > I'm running the latest nightly(05/05/2010), to reproduce: > > {{{ > require 'net/http' > Net::HTTP.post_form(URI.parse('http://www.google.com/foobar', { :foo => 'bar' }) > > # ... Produces: > ArgumentError: method `force_encoding:' does not work on NSStrings > }}} > > Thanks. Syntax error in the last demo, should be: {{{ require 'net/http' Net::HTTP.post_form(URI.parse('http://www.google.com/foobar'), { :foo => 'bar' }) # ... Produces: ArgumentError: method `force_encoding:' does not work on NSStrings }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/689#comment:1> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel