URLRequest helpers
Written on April 8, 2017 at 11:41 am
I was working with sending REST calls to Docker via /var/run/docker.sock and needed to print out the text of the request to send via the file descriptor. This code converts a URLRequest into a CFHTTPMessage and then convert that to a string.