Automatically add XMLHttpRequest header? #37
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey, I was thinking that FileUploader class could automatically add
X-Requested-With: XMLHttpRequestheader. I think it makes sense because all requests are Ajax request, although I'm not sure this is correct behaviour according to the standard.I've noticed there's already commented out setRequestHeader() so at least it would be nice if I could set it manually.