tag | d7fd382c9c9c74ec0ea34c7900e9d0d1c3e1eeeb | |
---|---|---|
tagger | Natalie Weizenbaum <nweiz@google.com> | Tue Oct 20 23:39:36 2015 |
object | 4ef269538eafda236ddb24e514ebec97acd9cf25 |
Add a DataUri class and make MediaType case-insensitive.
commit | 4ef269538eafda236ddb24e514ebec97acd9cf25 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Oct 20 21:29:30 2015 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Oct 20 21:29:30 2015 |
tree | 268f5131f5cc5434b04dbfe846ed2782a0d04206 | |
parent | 0aea125960e04fa2e13260250ee78dc4dbb1df95 [diff] |
Add a DataUri class. This supports encoding and decoding data URIs, using both bytes and strings. R=kevmoo@google.com Review URL: https://codereview.chromium.org//1390353008 .
http_parser
is a platform-independent package for parsing and serializing various HTTP-related formats. It's designed to be usable on both the browser and the server, and thus avoids referencing any types from dart:io
or dart:html
. It includes:
Support for parsing and formatting dates according to HTTP/1.1, the HTTP/1.1 standard.
A MediaType
class that represents an HTTP media type, as used in Accept
and Content-Type
headers. This class supports both parsing and formatting media types according to HTTP/1.1.
A CompatibleWebSocket
class that supports both the client and server sides of the WebSocket protocol independently of any specific server implementation.