(wrap-cors :access-control-allow-origin #"http://(.*\.)?likestream.net(:\d*)"
:access-control-allow-headers ["X-API-Version" "Accept" "Content-Type"]
:access-control-allow-methods ["GET" "PUT" "POST" "DELETE"]
:access-control-allow-credentials "true")
When I switched to version 0.1.2 (no other change to my code), then the CORS headers are not included in the response to the OPTIONS request.
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Access-Control-Request-Headers:x-api-version, accept
Access-Control-Request-Method:GET
Cache-Control:no-cache
Connection:keep-alive
Cookie:ring-session=fd674f7e-15ad-4aab-bae4-268fcc251b4e
Host:spare03.likestream.net:8080
Origin:http://dcjdev.likestream.net:8090
Pragma:no-cache
Referer:http://dcjdev.likestream.net:8090/
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.18 Safari/537.36