• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERRest should return own content type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Next by Date: did I do something terrible???
  • Next by thread: did I do something terrible???
  • Index(es):
    • Date
    • Thread