I didn't understand why we return here? Shouldn't the flow be like:
~~~ code
if (preflight) 
  set preflight headers
  set HTTP_OK
  return

set regular cors headers
pass it to the next handler (martini does that if status is not set)
~~~