Basic HTTP/1.1 with Okio
In a post on The Corner on Wednesday I claimed that OkHttp is one of the most challenging projects I've worked on. Here's the proof that I was lying: an HTTP request in 12 lines of code. Socket socket = new Socket("square.com", 80); BufferedSink sink = Okio.buffer(…