In a previous post, I mentioned using Jetty as part of testing a web application. The basic idea is that you can embed Jetty within your application (or at least within your test code), have your tests fire it up as required, and then perform “live” queries against your site. The purists would argue, of […]
Does your server’s response “Vary?”
Raise your hands if you’ve ever coded a web application that did any of the following: Supported more than one language, and automatically chose the language to present based on the contents of the Accept‑Language HTTP header. Generated different response formats (e.g. JSON vs XML) to REST queries based on the contents of the Accept […]