Made methods for wrapping and unwrapping html requests