Note to self, wireless Apple CarPlay works best if wireless is actually turned on ( the iPhone )

Tried rebooting the car’s head unit twice last evening to no avail - when I finally got home, there’s a friendly message on the iPhone telling me to turn on WiFi - now who looks at their sleeping iPhone whilst driving ? NOT ME !

#YesterdayILearned

V beogradu imajo mali china town. #yesterdayILearned
#YesterdayILearned that the new #java.net.http #HttpClient (introduced in Java 11) no longer gives access to the server's HTTP status message, nor its error stream. The older #HttpURLConnection did do that.

The new client lets us set request headers more easily. However, I found no way to lift the restriction on the Content-Length header. The older version let us switch that off using either a command-line switch or explicit code.

The new client supports HTTP2. So that's good.