This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Fix to make default headers to be different objects breaks POST,PUT,DELETE #5997
Closed
Description
I updated my angular-lib from an early 1.2 release yesterday to 1.2.10 and all my POST,PUT and DELETE( CORS ) requests failed due to CSRF ( django backend ).
I started to go backwards and found and that the error started to occur between 1.2.8 and 1.2.9. To be specific, the following commit makes my requests fail:
I did a quick test and changed the source-code in 1.2.10 back according to this commit and eveyrthing started working again.
Can anyone confirm this?
Hopefully I manage to get enough time tonight to setup a test-app that shows the problem if debugging needs to be done.