Open julienlau opened 6 years ago
Hey, are you sure about this? We use regular curl in the backend with default settings
Hi,
Thanks for quick answer. No I am not sure, but I cannot understand why I get this behaviour:
curl -v https://prd-gra-ladon.x.com/foo/bar
GET /foo/bar HTTP/1.1 Host: prd-gra-ladon.com User-Agent: curl/7.60.0 Accept: /
< HTTP/1.1 200 OK < Content-Type: text/plain;charset=UTF-8 < Content-Length: 64 < Connection: keep-alive < X-RateLimit-Remaining-second: 9 < X-RateLimit-Limit-second: 10 < X-Kong-Upstream-Latency: 1 < X-Kong-Proxy-Latency: 1 < Via: kong/1.0.0rc3
perfops curl -v https://prd-gra-ladon.x.com/foo/bar Node281, AS46562, Phoenix, United States perfops: No output from the server. Try the -I parameter.\n
perfops curl -I -v https://prd-gra-ladon.x.com/foo/bar Node241, AS40676, Ashburn, United States HTTP/1.1 404 Not Found Date: Wed, 28 Nov 2018 12:53:43 GMT Content-Type: application/json; charset=utf-8 Connection: keep-alive Server: kong/1.0.0rc3 Content-Length: 58
Is that domain supposed to be working? I am getting a DNS error when trying to open it. It cant resolve the domain
Sorry no, it is not a public domain. I can PM it to you, but I won't keep it running for very long. It is a server running: docker run -ti --rm -p 5050:5050 vad1mo/hello-world-rest
Ok, we will run our tests to debug this. Currently I can't see the problem but I will have my team to check as well.
Hi, I really appreciate the tool, but I think the content-type is hard coded as :
Content-Type: application/json Which makes my api return 404 instead of 200 if for example I serve only plain text. Thanks and regards