diff --git a/AFNetworking/AFHTTPClient.h b/AFNetworking/AFHTTPClient.h index 84d5965..296da7a 100644 --- a/AFNetworking/AFHTTPClient.h +++ b/AFNetworking/AFHTTPClient.h @@ -58,18 +58,6 @@ typedef enum { AFPropertyListParameterEncoding, } AFHTTPClientParameterEncoding; -/** - Returns a string, replacing certain characters with the equivalent percent escape sequence based on the specified encoding. - - @param string The string to URL encode - @param encoding The encoding to use for the replacement. If you are uncertain of the correct encoding, you should use UTF-8 (NSUTF8StringEncoding), which is the encoding designated by RFC 3986 as the correct encoding for use in URLs. - - @discussion The characters escaped are all characters that are not legal URL characters (based on RFC 3986), including any whitespace, punctuation, or special characters. - - @return A URL-encoded string. If it does not need to be modified (no percent escape sequences are missing), this function may merely return string argument. - */ -extern NSString * AFURLEncodedStringFromStringWithEncoding(NSString *string, NSStringEncoding encoding); - /** Returns a query string constructed by a set of parameters, using the specified encoding.