wordnik/swagger-ui — pull request #166 by JonnyJD (2013-03-17 21:41:21+00:00)
Title: don't set contentType for empty body

When content-type is set to a non-standard value,
CORS requires a preflight request that needs to be handled
by the destination server.
We shouldn't require that, when no body is sent at all
and the content-type is irrelevant anyways.