Nick's Tech Blog: TIBCO > HTTP Connection automatically responds to HTTP OPTIONS method

Pages

Thursday, June 14, 2012

TIBCO > HTTP Connection automatically responds to HTTP OPTIONS method

Problem

The default HTTP Connection is automatically responding to HTTP OPTIONS methods, without being processed by my HTTP receiver (I want to be able to process these requests!).

Here is the default response:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Allow: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS
Content-Length: 0
Date: Thu, 14 Jun 2012 08:14:35 GMT

Solution

  1. In the "HTTP Connection" Configuration tab, change the Server Type from "Tomcat" to "HttpComponent".
This should allow you to process all HTTP methods.

I'm yet to clarify whether this problem is related to Tomcat (or the HTTP Connection). Please feel free to respond if you find out!

No comments:

Post a Comment