Commit 7444d980 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Portal: set content-type to application/xml for SOAP response

parent d0cd1617
...@@ -1389,7 +1389,7 @@ sub returnSOAPMessage { ...@@ -1389,7 +1389,7 @@ sub returnSOAPMessage {
return PE_ERROR unless $self->{SOAPMessage}; return PE_ERROR unless $self->{SOAPMessage};
# Print HTTP header and SOAP message # Print HTTP header and SOAP message
print $self->header(); print $self->header( -type => 'application/xml' );
print $self->{SOAPMessage}; print $self->{SOAPMessage};
# Exit # Exit
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment