immutant 2016-03-17

@tcrawley: your suggested solution worked perfectly. thanks! just a minor correction was needed while pulling out the exchange headers.

(let [upgrade-resp-headers (-> (:server-exchange req) .getResponseHeaders)]

your example was doing .getRequestHeaders instead of .getResponseHeaders

@moizsj: ah, great! glad you got it working.