Fork me on GitHub
#ring
<
2020-04-26
>
uiltjesrups12:04:59

Is there a way to distinguish between uppercase and lowercase request methods? Is suspect not, because in ring.util.servlet I find:

(defn build-request-map
  {[...]
  :request-method     (keyword (.toLowerCase (.getMethod request) Locale/ENGLISH))
  [...]})
But may be I'm missing something. I want to respond with a method-not-allowed when request methods are lower case, I can use a reversed proxy for this but I'm curious if it's also possible with Ring.