[OpenSER-Devel] xmlrpc and charset

Andreas Granig agranig at sipwise.com
Thu Sep 27 13:22:33 CEST 2007


Hi,

In http://www.openser.org/pipermail/devel/2006-December/004704.html, 
Juha pointed out a problem with the charset-parameter resulting in a 400 
bad request. I still have the same problem here. The following request 
gives me a 400:

POST /RPC2 HTTP/1.1
Accept: */*
Connection: keep-alive
Content-Type: text/xml; charset=utf-8
User-Agent: test
Host: localhost:8000
Content-Length: 88

<?xml version="1.0"?>
<methodCall><methodName>uptime</methodName><params/></methodCall>

Whereas the same request without the charset parameter in the 
Content-Type header works fine.

Is there a specific version of libxmlrpc-c3 which accepts the parameter, 
or another workaround (other than hacking the client)?

Andreas




More information about the Devel mailing list