Hi

I think these properties are not used anymore. I have jus found this ticket
: https://github.com/angular/angular/issues/4231

Manu
@EmmanuelDemey
Le 2 oct. 2015 14:36, "Zsolt Gonye" <[email protected]> a écrit :

> Hi All,
>
>
> I am working with Angular 2 and I am trying to send HTTP request with 
> credentials.
>
>
> This Angular 1 code works well, it includes the credentials:
>
> $http.get("http://some.com/user",{ withCredentials: true})
>
>
> According to the API preview I have implemented this Angular 2 code but it 
> does not include credentials:
>
> http.get("http://some.com/user";, {
>         headers: myHeaders,
>         credentials: RequestCredentialsOpts.Include
>     }).toRx()
>         .map(res => res.json())
>         .subscribe(
>         // onNext callback
>             data => this.successHandler(data),
>         // onError callback
>             err  => this.failure(err)
>     );
>
>
> Any idea how can I configure the request?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to