#pedestal - hey team, has anyone experimented with clojure spec on the http headers and pedestal? I’m looking to verify specific headers were set in the request. Any help is welcome!
@ariel.silverman seems like you could make an interceptor which terminates the interceptor chain if the headers don’t conform.
yeah that’s what i’ve set up to do, however I was hoping the framework had an opinion about this
I don’t think pedestal is a framework 🙂 I like that its just a library. Vase may hold more opinions like this though.
agree with @lanejo01 re: framework vs library. Creating your own interceptor is the way to go. Vase does have more opinions but not involve spec and headers (that I recall anyway).