From 163b5993de4f7d5624931f335a54ff6a59f12a38 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Mon, 13 Sep 2021 15:58:56 +0200 Subject: Export rfc1123-time->string 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. --- intarweb.scm | 4 ++-- 1 file 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 -- cgit v1.2.3