DescriptionMake some HTTP utility functions public
Added a new static function splitQueryString to the URI class to expose parsing of a query string without constructing a URI.
Added class HttpDate in dart:io with a few HTTP date parsing and formatting methods.
Also turned some Uri comments into dartdoc.
I have not remove the parseQueryString and decodeUrlEncodedString from _HttpUtils as they still do some non standard things that I am not sure we want to add to the URI class. These are:
* Supporting semi-colon as separator in query strings (see http://www.w3.org/TR/REC-html40/appendix/notes.html#ampersands-in-uris)
* Supporting other encodings than UTF-8 for percent encoded strings
R=ajohnsen@google.com
BUG=http://dartbug.com/9888
Committed: https://code.google.com/p/dart/source/detail?r=23972
Patch Set 1 #Patch Set 2 : Minor fixes #
Total comments: 4
Patch Set 3 : Addressed review comments from ajohnsen@ #Patch Set 4 : Fixed status files after splitting http_date_test.dart #
Total comments: 12
Patch Set 5 : Addressed review comments from floitsch@ #Patch Set 6 : One more status file update #
Messages
Total messages: 7 (0 generated)
|