NSMutableURLRequest POST string data with URLencode， return “414 Request-URI Too Large"
<p>When I use NSMutableURLRequest to POST string data with URLencode， return “414 Request-URI Too Large”，How I can do?
return error message as below:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;&lt;title&gt;414 Request-URI Too Large&lt;/title&gt;&lt;/head&gt;
&lt;body bgcolor="white"&gt;
&lt;center&gt;&lt;h1&gt;414 Request-URI Too Large&lt;/h1&gt;&lt;/center&gt;
&lt;hr&gt;&lt;center&gt;nginx/1.0.6&lt;/center&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>and I use NSMutableURLRequest Setting as below:</p>

<pre><code>NSURL *url = [NSURL URLWithString:[urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding ]];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
[request setHTTPMethod:@"POST"];
[request setHTTPBody:[urlStr dataUsingEncoding:NSUTF8StringEncoding]];
</code></pre>
