commit | bb521dd6fb0943b669236788a9244dd2f965ee80 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Aug 25 16:26:50 2015 -0700 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Aug 25 16:26:50 2015 -0700 |
tree | 508ed71d35a6f675c87b5c584aa877b7bf296b67 | |
parent | c7552b09c2946a7d65de346b0a0f551f210edd4b [diff] |
Add an AuthenticationChallenge class. A simpler version of this existed already in dart-lang/oauth2; this makes it widely available and more robust. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1307353003 .
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.