Fix for #93.  XML response for XML clients.

>
> Maybe add also here curl -L?
>

Done.