Why do I get HTTP Code 414 on one network but not another?

Posted by Stephen Darlington on Stack Overflow See other posts from Stack Overflow or by Stephen Darlington
Published on 2010-06-09T20:38:32Z Indexed on 2010/06/09 20:42 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

I have an otherwise working iPhone program. A recent change means that it generates some very long URLs (over 4000 characters sometimes) which I know isn't a great idea and I know how to fix -- that's not what I'm asking here.

The curious thing is that when I make the connection using a 3G network (Vodafone UK) I get this HTTP "414 Request-URI Too Long" error but when I connect using my local WiFi connection it works just fine.

Why would I get different results using different types of network? Could they be routing requests to different servers depending on where the connection originates? Or is there something else at stake here?

The corollary questions relate to how common this is. Is it likely to happen whenever I use a cell network or just some networks?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about http