From b411e8c221b8edbbf81d27b70263cd9f51ee5ee9 Mon Sep 17 00:00:00 2001 From: Felix Gilcher Date: Tue, 9 Apr 2013 00:32:54 +0300 Subject: [PATCH] added note about date-padding --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c64641..54c48de 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,8 @@ The timestamp of the request is usually passed in the `Date` HTTP-Header. Howeve setting the Date header another header may be used to override the `Date` header. The name of this header can be controlled via the `:alternate_date_header` option and defaults to `X-#{auth-scheme-name}-Date` (`X-HMAC-Date`). -The date must be formatted as HTTP-Date according to RFC 1123, section 5.2.14 and should be provided in GMT time. +The date must be formatted as HTTP-Date according to RFC 1123, section 5.2.14 and should be provided in GMT time. The day of the date +must be zero-padded to two digits. Example: Setting the ttl to 300 seconds: