Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3678

Show
Ignore:
Timestamp:
06/27/08 16:34:49 (5 months ago)
Author:
kris
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/net/http/HttpConst.d

    r3649 r3678  
    126126        MultipleChoices              = 300, 
    127127        MovedPermanently             = 301, 
    128         MovedTemporarily             = 302, 
     128        Found                        = 302, 
    129129        SeeOther                     = 303, 
    130130        NotModified                  = 304, 
     
    188188        static HttpStatus MultipleChoices              = {HttpResponseCode.MultipleChoices, "MultipleChoices"}; 
    189189        static HttpStatus MovedPermanently             = {HttpResponseCode.MovedPermanently, "MovedPermanently"}; 
    190         static HttpStatus MovedTemporarily             = {HttpResponseCode.MovedTemporarily, "MovedTemporarily"}; 
     190        static HttpStatus Found                        = {HttpResponseCode.Found, "Found"}; 
     191        static HttpStatus TemporaryRedirect            = {HttpResponseCode.TemporaryRedirect, "TemporaryRedirect"}; 
    191192        static HttpStatus SeeOther                     = {HttpResponseCode.SeeOther, "SeeOther"}; 
    192193        static HttpStatus NotModified                  = {HttpResponseCode.NotModified, "NotModified"}; 
  • trunk/tango/net/http/HttpCookies.d

    r3606 r3678  
    211211                       consume (";Secure"); 
    212212 
    213                    if (maxAge > 0) 
     213                   if (maxAge >= 0) 
    214214                       consume (";Max-Age="c), consume (Integer.format (tmp, maxAge)); 
    215215                   }