Yay!
I can now read the ipfs-hash header!
Simple servlet proxy added to project:
package proxy;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;
import org.mitre.dsmiley.httpproxy.ProxyServlet;
@WebServlet(initParams = { //
@WebInitParam(name = "targetUri", value = "https://GATEWAY/ipfs"), //
@WebInitParam(name = ProxyServlet.P_LOG, value = "true"), //
@WebInitParam(name = ProxyServlet.P_HANDLEREDIRECTS, value = "true"),
@WebInitParam(name = ProxyServlet.P_PRESERVECOOKIES, value="true"),
@WebInitParam(name = ProxyServlet.P_PRESERVEHOST, value="false")//
}, loadOnStartup = 1, urlPatterns = "/ipfs/*")
@SuppressWarnings("serial")
public class Proxy extends ProxyServlet {
}