Debugged code for http pushRequest