#| -*-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,
(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)))