Re: [fetch] Status code to use in a response indicating rejection of a cross-origin access (#172)

Oh, wait -- are you talking about a status code to be generated *by* fetch if there's a cross-origin access failure? If so, 403 is definitely the right one; it's not restricted to use on the origin server. You can add headers (or body) to refine the semantics if you like, but a new status code isn't necessary.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/172#issuecomment-163826489

Received on Friday, 11 December 2015 03:23:26 UTC