ajbrown / angular-loggly-logger

An AngularJS module which sends your $log message to loggly, and provides a service for manually sending messages to loggly.
MIT License
32 stars 49 forks source link

Delete default http headers from request #64

Closed krtek closed 8 years ago

krtek commented 8 years ago

If there are additional request headers, the browser will always send pre-flight OPTIONS request. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

Introduce new parameter deleteHeaders to avoid this.