|
@@ -28,33 +28,34 @@ import password.pwm.util.java.StringUtil;
|
|
|
|
|
|
public enum HttpHeader
|
|
|
{
|
|
|
+ Authorization( "Authorization", Property.Sensitive ),
|
|
|
Accept( "Accept" ),
|
|
|
+ AcceptEncoding( "Accept-Encoding" ),
|
|
|
+ AcceptLanguage( "Accept-Language" ),
|
|
|
+ CacheControl( "Cache-Control" ),
|
|
|
Connection( "Connection" ),
|
|
|
- Content_Type( "Content-Type" ),
|
|
|
- Content_Encoding( "Content-Encoding" ),
|
|
|
- Location( "Location" ),
|
|
|
+ ContentEncoding( "Content-Encoding" ),
|
|
|
+ ContentDisposition( "content-disposition" ),
|
|
|
+ ContentLanguage( "Content-Language" ),
|
|
|
+ ContentLength( "Content-Length" ),
|
|
|
ContentSecurityPolicy( "Content-Security-Policy" ),
|
|
|
+ ContentTransferEncoding( "Content-Transfer-Encoding" ),
|
|
|
+ ContentType( "Content-Type" ),
|
|
|
+ ETag( "ETag" ),
|
|
|
+ Expires( "Expires" ),
|
|
|
If_None_Match( "If-None-Match" ),
|
|
|
+ Location( "Location" ),
|
|
|
+ Origin( "Origin" ),
|
|
|
+ Referer( "Referer" ),
|
|
|
Server( "Server" ),
|
|
|
- Cache_Control( "Cache-Control" ),
|
|
|
- WWW_Authenticate( "WWW-Authenticate" ),
|
|
|
- ContentDisposition( "content-disposition" ),
|
|
|
- ContentTransferEncoding( "Content-Transfer-Encoding" ),
|
|
|
- Content_Language( "Content-Language" ),
|
|
|
- Accept_Encoding( "Accept-Encoding" ),
|
|
|
- Accept_Language( "Accept-Language" ),
|
|
|
- Authorization( "Authorization", Property.Sensitive ),
|
|
|
UserAgent( "User-Agent" ),
|
|
|
- Referer( "Referer" ),
|
|
|
- Origin( "Origin" ),
|
|
|
+ WWW_Authenticate( "WWW-Authenticate" ),
|
|
|
+ XContentTypeOptions( "X-Content-Type-Options" ),
|
|
|
XForwardedFor( "X-Forwarded-For" ),
|
|
|
- ETag( "ETag" ),
|
|
|
- Expires( "Expires" ),
|
|
|
-
|
|
|
XFrameOptions( "X-Frame-Options" ),
|
|
|
- XContentTypeOptions( "X-Content-Type-Options" ),
|
|
|
XXSSProtection( "X-XSS-Protection" ),
|
|
|
|
|
|
+
|
|
|
XAmb( "X-" + PwmConstants.PWM_APP_NAME + "-Amb" ),
|
|
|
XVersion( "X-" + PwmConstants.PWM_APP_NAME + "-Version" ),
|
|
|
XInstance( "X-" + PwmConstants.PWM_APP_NAME + "-Instance" ),
|