summaryrefslogtreecommitdiff
path: root/lib/c-hyper.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/c-hyper.c')
-rw-r--r--lib/c-hyper.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/c-hyper.c b/lib/c-hyper.c
index 2825e2ce9..b6eb7466d 100644
--- a/lib/c-hyper.c
+++ b/lib/c-hyper.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, 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
@@ -823,6 +823,10 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
if(result)
return result;
+ result = Curl_add_timecondition(conn, headers);
+ if(result)
+ return result;
+
result = Curl_add_custom_headers(conn, FALSE, headers);
if(result)
return result;