Support Via header, removing requirement of supporting
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / http / HttpHeader.java
index 217b7a48aa4a63c8cc00765330cf1cd2875678ba..ef7385d1d5516899100c4c30648582bf593c3ff7 100644 (file)
@@ -1,14 +1,18 @@
 package org.argeo.cms.http;
 
-/** Standard HTTP headers (including WebDav). */
+/** Selection of standard or common HTTP headers (including WebDav). */
 public enum HttpHeader {
        AUTHORIZATION("Authorization"), //
        WWW_AUTHENTICATE("WWW-Authenticate"), //
        ALLOW("Allow"), //
+       VIA("Via"), //
 
        // WebDav
        DAV("DAV"), //
        DEPTH("Depth"), //
+
+       // Non-standard
+       X_FORWARDED_HOST("X-Forwarded-Host"), //
        ;
 
        public final static String BASIC = "Basic";