From: Taylor R. Campbell Date: Thu, 2 Oct 2008 17:58:05 +0000 (+0000) Subject: Use HTTP headers in XML-RPC requests, not RFC 2822 headers. X-Git-Tag: 20090517-FFI~108 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=8aa03c7b5134fd0827c25c73e460ae0664c95050;p=mit-scheme.git Use HTTP headers in XML-RPC requests, not RFC 2822 headers. --- diff --git a/v7/src/xml/xml-rpc.scm b/v7/src/xml/xml-rpc.scm index c9d5eb297..8cd8c1663 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.14 2008/08/30 19:48:20 riastradh Exp $ +$Id: xml-rpc.scm,v 1.15 2008/10/02 17:58:05 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) - ,(make-rfc2822-header 'CONTENT-TYPE "text/xml")) + ,(make-http-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)))