Re: [spec-reviews] "With Credentials" flag possibly inconsistent with web architecture (#76)

You make the point that it is useful to give more power to a JS app to operate at a lower level, and do explicit HTTP requests with the method and headers all added.  Yes, this is useful.    It would be useful also to understand and select which certs, passwords, or cookies were used.

But that is not the function which we are talking about when we talk about just taking one URI param.  That function is a high-level function to look up a URI, doing the right thing at ll points.   It is very common. It only does get,  It follows redirects. It provides authentication where it needs to, asking the user without the dev having to be involved.    Web app devs rely on the browser doing the right thing.   This function no longer exists.    It is needed not only be developer of apps, but also of frameworks which lookup URIs on the web as part of their work.    The signature of the function is get(uri) not get(uri,credentialFlag).  This is currently broken. 

If this problem is from an "optimization", well sorry, we'll have to optimize another way.

timbl

---
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/spec-reviews/issues/76#issuecomment-183068662

Received on Thursday, 11 February 2016 21:40:01 UTC