Skip to content

Trunk #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Net::HTTP rdoc update
  • Loading branch information
mperham committed Nov 27, 2010
commit af111481dd4b06ba1c2cd7ff82366e822629193e
8 changes: 4 additions & 4 deletions lib/net/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ class HTTPHeaderSyntaxError < StandardError; end
#
# === Fetching Documents
#
# Simple GET
# Simple GET and print response body to stdout
#
# require 'net/http'
# Net::HTTP.get('www.example.com', '/index.html') => String
# Net::HTTP.get_print('www.example.com', '/index.html')
#
# Simple GET by URL
# Simple GET by URI
#
# require 'net/http'
# require 'uri'
# Net::HTTP.get(URI.parse('http://www.example.com/index.html?count=10')) => String
# body = Net::HTTP.get(URI.parse('http://www.example.com/index.html?count=10'))
#
# More generic GET with dynamic parameters
#
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy