ERRest should return own content type
ERRest should return own content type
- Subject: ERRest should return own content type
- From: André Rothe <email@hidden>
- Date: Fri, 01 Feb 2019 00:48:32 +0100
Hi,
I'm playing around with ERRest. I have some routes, which return data as
XML. The content-type of the HTTP response is always text/xml, I try to
change it to application/xml, but it seems not to work with setHeader()
on the WOActionResult.generateResponse(). How I can set the header?
Thank you
André
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden