Re: ERRest should return own content type
Re: ERRest should return own content type
- Subject: Re: ERRest should return own content type
- From: André Rothe <email@hidden>
- Date: Fri, 01 Feb 2019 10:08:17 +0100
Hi Samuel,
Yes, I have to change it. I try to create a REST service with
WebObjects, which should play with an existing client. This client needs
special formatted XML and a content-type
application/vnd.de.uni-leipzig.zks.TrialService.v1+xml. So my next step
would be an own ERXRestFormat. It's nice, that I can change both things
on one place (xml structure and content type).
Thanks a lot
André
Hi André,
The mime is hard coded in the ERXXmlRestWriter.
Officially, text/xml and application/xml are valid, do you really need
to change it ?
_______________________________________________
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