mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Merge pull request #178 from pote/spelling_error_in_readme
Corrects spelling error.
This commit is contained in:
commit
24273a2423
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ See RestClient::Resource docs for details.
|
|||
* for results code between 200 and 207 a RestClient::Response will be returned
|
||||
* for results code 301, 302 or 307 the redirection will be followed if the request is a get or a head
|
||||
* for result code 303 the redirection will be followed and the request transformed into a get
|
||||
* for other cases a RestClient::Exception holding the Response will be raised, a specific exception class will be thrown for know error codes
|
||||
* for other cases a RestClient::Exception holding the Response will be raised, a specific exception class will be thrown for known error codes
|
||||
|
||||
RestClient.get 'http://example.com/resource'
|
||||
➔ RestClient::ResourceNotFound: RestClient::ResourceNotFound
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue