The syntax of HTTP URIs is defined in RFC1738 section 3.3.
Note that the Ruby URI library allows HTTP URLs containing usernames and passwords. This is not legal as per the RFC, but used to be supported in Internet Explorer 5 and 6, before the MS04-004 security update. See <URL:support.microsoft.com/kb/834489>.
| Constants | |
|---|---|
| COMPONENT | |
| DEFAULT_ |
|
| Public Methods | |
|---|---|
| buffer_ |
|
| build | Create a new URI::HTTP object from components, with syntax checking. |
| new | 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. |
| request_ |
Returns the full path for an HTTP request, as required by Net::HTTP::Get. |
<code/>and<pre/>for code samples.