New Uri.parse and validation.

Ensures that the resulting URI is valid.
Escapes invalid characters except the gen-delim group of delimites, where
escapes are allowed.

R=ajohnsen@google.com, sgjesse@google.com

Review URL: https://codereview.chromium.org//335373003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/json_rpc_2@37479 260f80e4-7a28-3924-810f-c04153c831b5
1 file changed
tree: 1c3a05aa1ca2d50ca8c3f7dcbd5b452b332be64f
  1. pkgs/