Tag: http2
-
Java 9’s HttpClient doesn’t allow custom HTTP/2 authorization headers
TL;DR Java 9 HttpClient does not allow custom Authorization header unless you resort to a hack. Read more about my blog post on CleverTap’s blog.
-
Mocking the HTTP/2 Apple push notification gateway in Go
At CleverTap, we had the need to mock the new HTTP/2 Apple push gateway API. After trying to do this in Java, and then in Python, I succeeded in getting it to work in Go. Go out of all languages! To me, Go has a completely strange syntax, compared to Java and C. This mock server…
-
Sending notifications via Apple’s new HTTP/2 API (using Jetty 9.3.6)
HTTP/2 is still very much new to Java, and as such, there are just two libraries who support it – Jetty (from 9.3), and Netty (in alpha). If you’re going the Jetty way (as I have), you’ll need to add their ALPN library to your boot classpath. Note: Jetty 9.3.x requires the use of Java…