Re: HTTP request status text is changed

Stanley Shen <meteorping@...>

I created the docker image, and you can find it "meteorping2/hello".

You can push the image as an APP like "cf push stanley -o meteorping2/hello"
When the APP is ready, you can access the servlet like:

And I got result
:~ stanleyshen$ wget
--2016-05-11 15:23:16--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2016-05-11 15:23:17 ERROR 403: Forbidden.

But if you access the servlet deployed in local env via "java -jar jetty-runner.jar testId.war" you will get below result:
--2016-05-11 07:04:31--
Connecting to connected.
HTTP request sent, awaiting response... 403 my customized 413 error message
2016-05-11 07:04:31 ERROR 403: my customized 413 error message.

And here is the Dockerfile definition:
FROM java:8
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp

CMD java -jar jetty-runner.jar testId.war
Thanks for investigation, let me know if you still cannot reproduce the issue.


Join to automatically receive all group messages.