ring
ring copied to clipboard
Clojure HTTP server abstraction
Hello, The Ring Jetty adapter uses Jetty `9.4.38`. Jetty 10 and 11 are available. I would liek to know if you would be interested to migrate to one of these...
The following URL path causes an exception/internal server error in the function in ring.middleware.resource/resource-request. ///%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/etc/passwd Version: ring/ring-core 1.9.4 Exception: clojure.lang.ExceptionInfo: java.lang.NumberFormatException in Interceptor :io.pedestal.http.ring-middlewares/resource - For input string: "uf" at...
https://github.com/ring-clojure/ring/blob/master/ring-core/src/ring/util/response.clj#L288 calls .getLastModified which leaks a file descriptor per https://bugs.openjdk.java.net/browse/JDK-8224095 This led to my service failing due to running into the file descriptor ulimit, netty failing to accept new connections,...
This is an issue for gathering feedback on the Ring 2.0 design. The code and documentation will be held in the [2.0 branch](https://github.com/ring-clojure/ring/tree/2.0) of the repository. The first [draft specification](https://github.com/ring-clojure/ring/blob/2.0/SPEC-2.md)...
Dear @weavejester please consider adding the following patch to `ring`. **Why this is important?** I'm trying to patch as many libraries as it's possible to make the GraalVM Clojure applications...
When the request points to a directory and the body of the response is a file (i.e. index.html or something like that), take the mime type of that file. This...
WEBP has [94% browser support](https://caniuse.com/?search=webp) and is a common way to serve images.
I'm using ring.middleware.cors with unity3d wasm. error: wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'. warning: HTTP Response Header "Content-Type" configured...
I am not sure if this is a bug or a deliberate design choice, but `wrap-nested-params` only returns nested structures on the `:params` key - not on `:query-params` (which it...
I try to resolve and foundout that .getCanonicalPath has strange behavior: useful-stuff.multitool> (.getCanonicalPath (File. "c:")) "C:\\Users\\Intel" useful-stuff.multitool> (.getCanonicalPath (File. "c:/")) "C:\\" useful-stuff.multitool> (.getCanonicalPath (File. "c:\\")) "C:\\"