feat(xhr): use http Angular2 requests #455

Open
opened 2016-10-18 08:36:08 +00:00 by be4code · 1 comment
be4code commented 2016-10-18 08:36:08 +00:00 (Migrated from github.com)

Creating plain XHR request causing problems with CSRF tokens. All default request headers are propagated by POST, GET or other method while in this component we need to manually add headers.

Is there any chance that you implement this component that it will be using ng2 requests?

Creating plain XHR request causing problems with CSRF tokens. All default request headers are propagated by POST, GET or other method while in this component we need to manually add headers. Is there any chance that you implement this component that it will be using ng2 requests?
valorkin commented 2016-10-19 10:52:11 +00:00 (Migrated from github.com)

I think that request part should be a separate service
added via provide

I think that request part should be a separate service added via provide
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#455