curl_getdate.3: update RFC reference
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@@ -91,7 +91,7 @@ Sat, 11 Sep 2004 21:32:11 +0200
|
|||||||
This parser was written to handle date formats specified in RFC 822 (including
|
This parser was written to handle date formats specified in RFC 822 (including
|
||||||
the update in RFC 1123) using time zone name or time zone delta and RFC 850
|
the update in RFC 1123) using time zone name or time zone delta and RFC 850
|
||||||
(obsoleted by RFC 1036) and ANSI C's asctime() format. These formats are the
|
(obsoleted by RFC 1036) and ANSI C's asctime() format. These formats are the
|
||||||
only ones RFC2616 says HTTP applications may use.
|
only ones RFC 7231 says HTTP applications may use.
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
This function returns -1 when it fails to parse the date string. Otherwise it
|
This function returns -1 when it fails to parse the date string. Otherwise it
|
||||||
returns the number of seconds as described.
|
returns the number of seconds as described.
|
||||||
|
|||||||
Reference in New Issue
Block a user