Post

URLRequest helpers

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.

This post is licensed under CC BY 4.0 by the author.