Hybrid Integration 10.1 | Integrating On-Premises Applications | Document Conventions | About Integration Server REST Processing | Sending Responses to the REST Client | Header Fields
 
Header Fields
You can communicate information about the request and the response through header fields in the HTTP response. Integration Server will generate some header fields, such as Set-Cookie, WWW-Authenticate, Content-Type, Content-Length, and Connection. You can use the pub.flow:setResponseHeader to set Content-Type and other header fields. You can also set the header fields of an HTTP request by adding a variable named $httpResponse that references the pub.flow:httpResponse document type to the flow service pipeline. For more information on this document type, see webMethods Integration Server Built-In Services Reference.
HTTP/1.1 defines the header fields that can appear in a response in three sections of RFC 2616: 4.5, 6.2, and 7.1. Examine these codes to determine which are appropriate for your application.

Copyright © 2015- 2017 | 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.