webMethods and Intelligent Business Operations 10.2 | Integrate Software AG Products Using Digital Event Services | Integration Server Administrator’s Guide | Content Handlers | About Content Handlers for HTTP Responses
 
About Content Handlers for HTTP Responses
 
Accept Header Field
Note: If a response has already been created by the pub.flow:setResponse2 service or pub.flow:HTTPResponse document type, Integration Server does not use a content handler for the response.
Integration Server does the following to select a content handler for an HTTP response:
1. Looks at the Content-Type header field in the response header, and then uses the contentHandler registered for that content type. This field has a value only if the application assigns one using the pub.flow:setResponseHeader service.
If the Content-Type header field in the response header specifies an unsupported content type, Integration Server uses text/html.
2. If content type is not specified in the response header, Integration Server looks at the Accept header field in the request header to determine content type, and then uses the content handler registered for that content type.
3. If there is no Accept header field in the request header, or if there is no content handler for the content-type specified by the Accept header field, Integration Server uses the content handler that was used for the request.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release