Hello

I'm trying to send a POST request to "http://localhost:8090/my/path";, and getting the exception in the subject.

The request goes to a the same process.
The servlet handling requests is jersey's ServletContainer.
Requests from an external tool (both to http://localhost:8090/my/path and http://localhost:8090) are fine.
Putting a breakpoint in the servlet shows it is not called

I create the request like:
      var httpClient = new DefaultHttpClient

      var httpPost = new HttpPost((new URL(base, requestUrl)).toString)
      httpPost.addHeader("Content-Type", "text/raw")
      httpPost.setEntity(new InputStreamEntity(warmupInput.openStream, -1))
      var response = httpClient.execute(httpPost)

What can be the problem?

Regards,
Ittay

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to