Feature #422
XMLHttpRequest Request
Status: | Rejected | Start date: | 2008-03-20 | |
---|---|---|---|---|
Priority: | Won't have this time | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | MVC | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
I think it would be useful to have an XMLHttpRequest-Object beneath the Web and CLI-Request in the MVC. This Ajax request would be very similar to a Web-Request (maybe a sub-module of that?).
Most JS-Frameworks send a 'X-Requested-With' => 'XMLHttpRequest' to the request-header so this request could be easily differenced from a normal web-request.
History
#1 Updated by Karsten Dambekalns almost 7 years ago
Why would you want to differentiate those requests from each other? Isn't that the beauty of XHR, that it's just a normal request?
#2 Updated by Karsten Dambekalns almost 7 years ago
- Status changed from New to Needs Feedback
- Priority changed from Must have to Won't have this time
#3 Updated by Karsten Dambekalns about 6 years ago
- Status changed from Needs Feedback to Rejected