Commit ab2cb0a
authored
Add X-Requested-With header
Add X-Requested-With header ("X-Requested-With": "XMLHttpRequest") so that frameworks that support checking the request type, e.g. Laravel, Symfony, Yii (and others, not necessarily PHP related) can use their respective helper methods e.g. in Laravel Request::ajax() etc/1 parent 9dbb139 commit ab2cb0a
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
523 | 524 | | |
524 | 525 | | |
525 | 526 | | |
526 | | - | |
| 527 | + | |
0 commit comments