re #113 : KRequest is now implemented as a singleton.  Renamed function raw() to content(). The function now returns an associative array with the content 'data' and the 'type' information.  Added content type negotiation to the constructor for PUT and POST request. Supporting both application/json and application/x-www-form-urlencoded content type. Json data is automatically converted to an associative array and pushed into the $_POST array. Form url encoded data is parsed using parse_str and also pushed in the $_POST array, this only happens for PUT as PHP do this automatically for POST requests.
re #113 : KRequest is now implemented as a singleton. 
Renamed function raw() to content(). The function now returns an associative array with the content 'data' and the 'type' information. 
Added content type negotiation to the constructor for PUT and POST request. Supporting both application/json and application/x-www-form-urlencoded content type. Json data is automatically converted to an associative array and pushed into the $_POST array. Form url encoded data is parsed using parse_str and also pushed in the $_POST array, this only happens for PUT as PHP do this automatically for POST requests.


nooku/nooku-platform,timble/kodekit-platform,timble/kodekit-platform,nooku/nooku-platform,timble/kodekit-platform,timble/kodekit-platform,nooku/nooku-platform,nooku/nooku-platform,timble/kodekit-platform,nooku/nooku-platform