I guess the ctype option can be used even if you use send_request_raw. It isn't a big deal because send_request_raw wont add its own Content-Type. But code will look better. Just a recommendation :)