Seems to work for me....
Thank you very much for testing it out. I probably should have tried to do a minimal example myself before asking here in the channel; the project Iβm working on has many layers on top of the βrawβ jetty server.
np π
before...
β― http --verbose :8080/api/ping
GET /api/ping HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: localhost:8080
User-Agent: HTTPie/2.2.0
HTTP/1.1 200 OK
Content-Length: 5
Date: Tue, 29 Sep 2020 06:19:35 GMT
Server: Jetty(9.4.28.v20200408)
Pong!
after:
(defn jetty-start
[handler opts]
(jetty/run-jetty handler (-> opts (assoc :send-server-version? false
:send-date-header? false
:join? false)))) ;; false so that we can stop it at the repl!
β― http --verbose :8080/api/ping
GET /api/ping HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: localhost:8080
User-Agent: HTTPie/2.2.0
HTTP/1.1 200 OK
Content-Length: 5
Pong!