http

https://github.com/httprb/http

Ruby

HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts

HTTP::URI#default_port

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:httprb/http.git

cd http

open lib/http/uri.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-HTTP--URI-default_port-for-pr


# Commit to git

git add lib/http/uri.rbgit commit -m "better docs for HTTP::URI#default_port"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-HTTP--URI-default_port-for-pr

hub pull-request


# Celebrate!