add several asserts to ensure that `put_data` and/or `post_data` are empty for the different HTTP operations