From 2550ba8c404ab2bb81c9351bd9cfb70e53ecf7ad Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Sat, 30 Aug 2008 19:48:20 +0000 Subject: [PATCH] Use an RFC 2822 header object, rather than a list of a symbol and a string, per the new HTTP client. --- v7/src/xml/xml-rpc.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/xml/xml-rpc.scm b/v7/src/xml/xml-rpc.scm index 8fb770771..c9d5eb297 100644 --- a/v7/src/xml/xml-rpc.scm +++ b/v7/src/xml/xml-rpc.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: xml-rpc.scm,v 1.13 2008/08/25 08:48:33 cph Exp $ +$Id: xml-rpc.scm,v 1.14 2008/08/30 19:48:20 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -33,7 +33,7 @@ USA. (let ((response (http-post uri `(,@(if (default-object? headers) '() headers) - (CONTENT-TYPE "text/xml")) + ,(make-rfc2822-header 'CONTENT-TYPE "text/xml")) (xml->octets (->request request 'XML-RPC))))) (if (not (= 200 (http-response-status response))) (error "HTTP error:" (http-response-reason response))) -- 2.25.1