diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-06-01 10:18:11 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-06-01 15:04:40 +0200 |
commit | 3bbcb4b03605bafa0d8e79f82240b1bc8de7a7e7 (patch) | |
tree | f0e3723f2386c1097f18cea3bb08da95f7aba453 /docs | |
parent | e8423f9ce1507c749c559f1ac1847fa433e66c45 (diff) |
curl_getdate.3: update RFC reference
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/curl_getdate.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/curl_getdate.3 b/docs/libcurl/curl_getdate.3 index ff31ac7c7..2e7d7aa7f 100644 --- a/docs/libcurl/curl_getdate.3 +++ b/docs/libcurl/curl_getdate.3 @@ -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 .\" * 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 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 -only ones RFC2616 says HTTP applications may use. +only ones RFC 7231 says HTTP applications may use. .SH RETURN VALUE This function returns -1 when it fails to parse the date string. Otherwise it returns the number of seconds as described. |