mootools/mootools-core — Issue #2228: Better way for extending the Request Class
Author: ibolmo
Created: 2012-01-19 09:16:08+00:00
State: open
Labels: api, enhancement, optimization

(from [Lighthouse](https://mootools.lighthouseapp.com/projects/2706/tickets/944-better-way-for-extending-the-request-class))

It is very hard to override the send method of the Request Class. it would be better to split it in several functions.

i made up a fiddle as example http://www.jsfiddle.net/cNhTd/

and added 2 new functions: processData() and sendRequest()

What do you think ?