Open mveytsman opened 8 years ago
The yeller ring middleware looks for the keys "Referer" and "User-Agent" in the request headers (https://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/ring.clj#L6-L9)
"Referer"
"User-Agent"
Ring actually lowecases the header names. See the spec here: https://github.com/mmcgrana/ring/blob/master/SPEC#L83-L86
Yeller should be looking for "referer" and "user-agent".
"referer"
"user-agent"
@mveytsman I was stumbling across the same issue just today :( @tcrayford any chance we see a release with that change merged?
The yeller ring middleware looks for the keys
"Referer"
and"User-Agent"
in the request headers (https://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/ring.clj#L6-L9)Ring actually lowecases the header names. See the spec here: https://github.com/mmcgrana/ring/blob/master/SPEC#L83-L86
Yeller should be looking for
"referer"
and"user-agent"
.