| Index: pkg/http_parser/lib/src/http_date.dart
|
| diff --git a/pkg/http_parser/lib/http_parser.dart b/pkg/http_parser/lib/src/http_date.dart
|
| similarity index 96%
|
| copy from pkg/http_parser/lib/http_parser.dart
|
| copy to pkg/http_parser/lib/src/http_date.dart
|
| index f9d8b8f5f1d0cd21fa5d9186a015763f2d5c85c4..47ac547a8fe77df43804e75ad5a0a2af8d9e7f80 100644
|
| --- a/pkg/http_parser/lib/http_parser.dart
|
| +++ b/pkg/http_parser/lib/src/http_date.dart
|
| @@ -6,9 +6,6 @@ library http_parser;
|
|
|
| import 'package:string_scanner/string_scanner.dart';
|
|
|
| -export 'src/media_type.dart';
|
| -export 'src/web_socket.dart';
|
| -
|
| const _WEEKDAYS = const ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
| const _MONTHS = const ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
|
| "Sep", "Oct", "Nov", "Dec"];
|
| @@ -20,7 +17,6 @@ final _monthRegExp =
|
| new RegExp(r"Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec");
|
| final _digitRegExp = new RegExp(r"\d+");
|
|
|
| -// TODO(nweiz): Move this into an http_parser package.
|
| /// Return a HTTP-formatted string representation of [date].
|
| ///
|
| /// This follows [RFC 822](http://tools.ietf.org/html/rfc822) as updated by [RFC
|
| @@ -45,7 +41,6 @@ String formatHttpDate(DateTime date) {
|
| return buffer.toString();
|
| }
|
|
|
| -// TODO(nweiz): Move this into an http_parser package.
|
| /// Parses an HTTP-formatted date into a UTC [DateTime].
|
| ///
|
| /// This follows [RFC
|
|
|