Sun Java System Instant Messaging 7.2 Administration Guide

ProcedureTo Set the content-type HTTP Header for the XMPP/HTTP Gateway

  1. Open httpbind.conf.

    See httpbind.conf File Location for information on finding this file.

  2. Set the httpbind.content_type parameter to the content-type you want the gateway to use if the client does not specify one in its initial request.

    The default is text/xml; charset=utf-8. For example:

    httpbind.content_type=text/xml; charset=utf-8
  3. Save and close httpbind.conf.

  4. Restart the gateway using the tools provided by the web or application server.