> Are you sure you even need to write your own extension? If you just want to > do > HTTP requests, then curl or HTTP extension should be sufficient.
Nope, I'm developing an extension. In which I require this functionality. Its not the entire purpose of my extension. Just a part of the functionality.