new(*arg) public


Create a new URI::HTTP object from generic URI components as per RFC 2396. No HTTP-specific syntax checking (as per RFC 1738) is performed.

Arguments are scheme, userinfo, host, port, registry, path, opaque, query and fragment, in that order.


uri =['http', nil, "", nil, "/path",
  "query", 'fragment'])
Show source
Register or log in to add new notes.