Commit 7c6b1d9
committed
Check on status 304 and add Content-Type header
Looked into jQuery lib and found their XHR also checks on a 304 status
(Not Modified)
Added to success condition
Content-Type header added to also tie in with original jQuery version of
github.js1 parent c60f2dc commit 7c6b1d9
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments