Accept Header Responses
REST Service Binding allows users to set preferences for responses. Responses can be set to either BW Service Response to honour the TIBCO BusinessWorks™ Container Edition service responses or Accept Header, which accepts headers set by the client or browser.
The following table shows the REST Service responses based on the Accept Header settings.
Accept Header (Client) | BW Service Response | Support till version TIBCO BusinessWorks™ Container Edition 6.3.1 | Support from version TIBCO BusinessWorks Container Edition6.3.2 to vesion 6.3.5 | Support from version TIBCO BusinessWorks Container Edition 6.4.0 (Default behaviour) | Version TIBCO BusinessWorks Container Edition 6.4.0 (Enforce BW Service Response) |
---|---|---|---|---|---|
application or JSON | JSON | JSON | JSON | JSON | JSON |
application or XML | JSON | XML | Error: 406 | Error: 406 | Error: 406 |
*/* | JSON | JSON | JSON | JSON | JSON |
application or XML;q=0.9 | JSON | JSON | Error: 406 | Error: 406 | Error: 406 |
application or XML;q=0.9,*/* | JSON | JSON | XML | XML | JSON |
application or XML,*/* | JSON | JSON | XML | XML | JSON |
application or json,text/plain,*/* | JSON | JSON | NA | text/plain | JSON |
application or json,text/plain | JSON | JSON | NA | text/plain | JSON |
application/json | XML | text/plain | Error:406 | Error:406 | Error:406 |
application/xml | XML | XML | XML | XML | XML |
*/* | XML | XML | XML | text/plain | XML |
application/xml;q=0.9 | XML | text/plain | XML | XML | XML |
application/xml;q=0.9,*/ * | XML | XML | XML | XML | XML |
application/xml,*/* | XML | XML | XML | XML | XML |
application/json,text/plain,*/* | XML | XML | XML | text/plain | XML |
application/json,text/plain | XML | text/plain | Error:406 | Error:406 | Error:406 |
Copyright © Cloud Software Group, Inc. All rights reserved.