Make the http request available to newConsumer to enable CORS
Merge pull request #1 from K4orta/add-cors

Make the http request available to newConsumer to enable CORS