Note the query and fragment properties return their values in escaped form.
The SPDY spec says the ":path" header value must be a valid conforming URL, which means it should be percent-escaped. This change is the best fix I could find for all iOS clients. iOS 7+ has a NSURLComponents class that makes all of this much easier and more explicit.
NSURL's path property returns the path in non-escaped form per Apple's documentation and our observations. For instance:
Note the query and fragment properties return their values in escaped form.
The SPDY spec says the ":path" header value must be a valid conforming URL, which means it should be percent-escaped. This change is the best fix I could find for all iOS clients. iOS 7+ has a NSURLComponents class that makes all of this much easier and more explicit.