Closed yogthos closed 9 minutes ago
It looks like I'm missing the scheme
key, let me take a look
Could you please try it with the latest release?
;; lein
[com.github.igrishaev/ring-jdk-adapter "0.1.1"]
;; deps
com.github.igrishaev/ring-jdk-adapter {:mvn/version "0.1.1"}
At the moment, the scheme
field is always :http
because the adapter doesn't support HTTPS server. I think I can implement HTTPS a bit later.
I added some tests that involve functions from ring.util.request
namespace, and fixed one more minor bug.
Can you please let me know if it works for you?
Looks good on my end!
Great! Feel free to open new issues, if you find them.
Sounds good, and thanks for the quick fix.
It looks like current implementation is missing some keys listed in the spec. For example, ring-headers middleware breaks because it gets a null pointer trying to parse the scheme in request-url.