summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2021-09-13 15:58:56 +0200
committerPeter Bex <peter@more-magic.net>2021-09-13 15:59:35 +0200
commit163b5993de4f7d5624931f335a54ff6a59f12a38 (patch)
tree4d8442430daea631b9f81d07cabc2beaf445d317
parent784a24430c617714076e46a495e4c97a2804042f (diff)
downloadintarweb-2.0.2.tar.gz
Export rfc1123-time->string2.0.2
This is a procedure that can be used by users of this egg which need the string representation of the Date header (for signing purposes, for example, like the S3 egg needs for the AWS signature) The problem is that we don't really want to bake in "letlocale" in all other programs, but contain this horrid complexity in intarweb.
-rw-r--r--intarweb.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/intarweb.scm b/intarweb.scm
index 3df4690..013fafa 100644
--- a/intarweb.scm
+++ b/intarweb.scm
@@ -1,7 +1,7 @@
;;;
;;; Intarweb is an improved HTTP library for Chicken
;;;
-;; Copyright (c) 2008-2018, Peter Bex
+;; Copyright (c) 2008-2021, Peter Bex
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
@@ -76,7 +76,7 @@
parse-params parse-value+params unparse-params
multiple single make-key/value-subparser
- rfc1123-string->time rfc850-string->time asctime-string->time
+ rfc1123-time->string rfc1123-string->time rfc850-string->time asctime-string->time
http-date-string->time
rfc1123-subparser rfc850-subparser asctime-subparser http-date-subparser
product-subparser quality-subparser unknown-header-parser