Skip to content

Commit

Permalink
fix(ajax): Do not mutate headers passed as arguments
Browse files Browse the repository at this point in the history
- Also ensures x-requested-with header is set properly
- Adds comments
- Code clean up
- Normalize headers to be lowercase, since they are case insensitive.
- Updates tests
- Remove superfluous checks in unsubscribe

resolves #2801
  • Loading branch information
benlesh committed Sep 3, 2020
1 parent ea84fc4 commit 0d66ba4
Show file tree
Hide file tree
Showing 2 changed files with 384 additions and 326 deletions.
Loading

0 comments on commit 0d66ba4

Please sign in to comment.