applied patch from ticket #86142: Missing XML declaration in request

https://rt.cpan.org/Public/Bug/Display.html?id=86142
tests still pass, so, good enough, right?
This commit is contained in:
Scott Walters
2014-08-21 20:50:56 -04:00
parent 45982ff330
commit 2624a9d5c0

View File

@@ -30,7 +30,7 @@ sub serialize {
my $soap_prefix = $opt->{ namespace }->{ $SOAP_NS };
# envelope start with namespaces
my $xml = "<$soap_prefix\:Envelope ";
my $xml = qq|<?xml version="1.0" ?><$soap_prefix\:Envelope |;
while (my ($uri, $prefix) = each %{ $opt->{ namespace } })
{