beginning of a roll-your-own _put_request replacement