Closed igtsekov closed 2 months ago
My bad. I was unaware that -I send an HTTP HEAD request
if I sent a GET request everything works as expected.
$ curl -I -X GET http://localhost:9324/health
HTTP/1.1 200 OK
Server: pekko-http/1.0.1
Date: Fri, 13 Sep 2024 14:41:27 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 2
I am closing this.
Problem
I am testing the 1.6.8 version of
elasticmq-native
and I got this strange behaviourIf I omit the
-I
flag I get OKExpected result
I expect to get status code 200 from the
/health
endpoint am I doing something wrong?How to reproduce
I start the elasticmq in a docker container and
curl
the/health
endpoint.