4 ms·
If you look in the source code of this site you'll discover that it doesn't lowercase that part of the URL: (def parseurl (s) (let (type url) (tokens s)
by jgrahamc 18y ago
If you look in the source code of this site you'll discover that it doesn't lowercase that part of the URL:
(def parseurl (s)
(let (type url) (tokens s)
(let (base args) (tokens url #\?)
(list (sym (downcase type))
(sym (cut base 1))
(if args
(parseargs args)
nil)))))
In fact it only calls 'downcase' on the type (which is the HTTP verb).