Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: runtime/bin/http.dart

Issue 10855197: Fix HttpHeaders.date and add HttpHeaders.ifModifiedSince. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also parse other date values to a Http date format. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/http_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/http.dart
diff --git a/runtime/bin/http.dart b/runtime/bin/http.dart
index 16dc5dc17db876b2c3603dce739757a754d88589..510febf24839a7b31954b1a54785a9f4a03487dc 100644
--- a/runtime/bin/http.dart
+++ b/runtime/bin/http.dart
@@ -286,17 +286,23 @@ interface HttpHeaders default _HttpHeaders {
/**
* Gets and sets the date. The value of this property will
- * reflect the "Date" header
+ * reflect the "Date" header.
*/
Date date;
/**
* Gets and sets the expiry date. The value of this property will
- * reflect the "Expires" header
+ * reflect the "Expires" header.
*/
Date expires;
/**
+ * Gets and sets the 'if-modified-since' date. The value of this property will
+ * reflect the "if-modified-since" header.
+ */
+ Date ifModifiedSince;
+
+ /**
* Gets and sets the host part of the "Host" header for the
* connection.
*/
« no previous file with comments | « no previous file | runtime/bin/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698