• 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
ERRest should return own content type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: ERRest should return own content type
      • From: Samuel Pelletier <email@hidden>
  • Prev by Date: Re: To-one relationship with propagating primary key
  • Next by Date: Re: ERRest should return own content type
  • Previous by thread: Re: application awake, kind of request?
  • Next by thread: Re: ERRest should return own content type
  • Index(es):
    • Date
    • Thread