This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 10872 - Expires and Last-Modified headers should use two-digit days
Summary: Expires and Last-Modified headers should use two-digit days
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: Sys.Web (show other bugs)
Version: Trunk
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL: http://trac.nginx.org/nginx/ticket/310
Depends on:
Blocks:
 
Reported: 2013-03-04 06:11 UTC by Daniel Lo Nigro
Modified: 2013-03-04 11:12 UTC (History)
2 users (show)

See Also:
Tags:


Attachments

Description Daniel Lo Nigro 2013-03-04 06:11:46 UTC
While RFC 822 and RFC 1123 both allow either one- or two-digit days in dates, HTTP only allows two-digit days (see http://tools.ietf.org/html/rfc2616#section-3.3.1)

Mono currently outputs dates in this format:
Sun, 3 Mar 2014 13:22:27 GMT

When they should be in this format:
Sun, 03 Mar 2014 13:22:27 GMT

I've fixed this and will submit the fix via Github; this bug is just for tracking purposes.
Comment 1 Daniel Lo Nigro 2013-03-04 06:50:06 UTC
Pull request submitted: https://github.com/mono/mono/pull/588
Comment 2 Miguel de Icaza 2013-03-04 11:12:39 UTC
Applied

Note You need to log in before you can comment on or make changes to this bug.