Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typos

  • Loading branch information...
commit 2cf3e4a2e401156f059cdbfc7eb1771437c342cf 1 parent b847980
@pborreli pborreli authored
View
2  docs/why-requests.md
@@ -20,7 +20,7 @@ cURL
horrible functions such as `curl_setopt()`. Combined with that, it uses 229
global constants, polluting the global namespace horribly.
- Requests, on the other hand, exposes only a handleful of classes to the
+ Requests, on the other hand, exposes only a handful of classes to the
global namespace.
View
2  library/Requests.php
@@ -347,7 +347,7 @@ public static function request($url, $headers = array(), $data = array(), $type
*
* - `complete`: A callback for when a request is complete. Takes two
* parameters, a Requests_Response/Requests_Exception reference, and the
- * ID from the request array (Note: this can also be overriden on a
+ * ID from the request array (Note: this can also be overridden on a
* per-request basis, although that's a little silly)
* (callback)
*
View
2  library/Requests/IDNAEncoder.php
@@ -54,7 +54,7 @@ public static function encode($string) {
* @throws Requests_Exception Provided string longer than 64 ASCII characters (`idna.provided_too_long`)
* @throws Requests_Exception Prepared string longer than 64 ASCII characters (`idna.prepared_too_long`)
* @throws Requests_Exception Provided string already begins with xn-- (`idna.provided_is_prefixed`)
- * @throws Requests_Exception Encded string longer than 64 ASCII characters (`idna.encoded_too_long`)
+ * @throws Requests_Exception Encoded string longer than 64 ASCII characters (`idna.encoded_too_long`)
*
* @param string $string ASCII or UTF-8 string (max length 64 characters)
* @return string ASCII string
View
4 library/Requests/IPv6.php
@@ -20,7 +20,7 @@ class Requests_IPv6
/**
* Uncompresses an IPv6 address
*
- * RFC 4291 allows you to compress concecutive zero pieces in an address to
+ * RFC 4291 allows you to compress consecutive zero pieces in an address to
* '::'. This method expects a valid IPv6 address and expands the '::' to
* the required number of zero pieces.
*
@@ -92,7 +92,7 @@ public static function uncompress($ip)
/**
* Compresses an IPv6 address
*
- * RFC 4291 allows you to compress concecutive zero pieces in an address to
+ * RFC 4291 allows you to compress consecutive zero pieces in an address to
* '::'. This method expects a valid IPv6 address and compresses consecutive
* zero pieces to '::'.
*
View
2  library/Requests/Response/Headers.php
@@ -75,7 +75,7 @@ public function offsetUnset($key) {
}
/**
- * Get an interator for the data
+ * Get an iterator for the data
*
* @return ArrayIterator
*/
View
2  library/Requests/Transport/cURL.php
@@ -42,7 +42,7 @@ class Requests_Transport_cURL implements Requests_Transport {
protected $fp;
/**
- * Have we finished the heades yet?
+ * Have we finished the headers yet?
*
* @var boolean
*/
Please sign in to comment.
Something went wrong with that request. Please try again.