File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
android/guava/src/com/google/common/net
guava/src/com/google/common/net Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,14 @@ private ReferrerPolicyValues() {}
171
171
public static final String TE = "TE" ;
172
172
/** The HTTP {@code Upgrade} header field name. */
173
173
public static final String UPGRADE = "Upgrade" ;
174
- /** The HTTP {@code User-Agent} header field name. */
174
+ /**
175
+ * The HTTP <a href="https://w3c.github.io/webappsec-upgrade-insecure-requests/#preference">{@code
176
+ * Upgrade-Insecure-Requests}</a> header field name.
177
+ *
178
+ * @since NEXT
179
+ */
180
+ public static final String UPGRADE_INSECURE_REQUESTS = "Upgrade-Insecure-Requests" ;
181
+
175
182
public static final String USER_AGENT = "User-Agent" ;
176
183
177
184
// HTTP Response header fields
Original file line number Diff line number Diff line change @@ -171,7 +171,14 @@ private ReferrerPolicyValues() {}
171
171
public static final String TE = "TE" ;
172
172
/** The HTTP {@code Upgrade} header field name. */
173
173
public static final String UPGRADE = "Upgrade" ;
174
- /** The HTTP {@code User-Agent} header field name. */
174
+ /**
175
+ * The HTTP <a href="https://w3c.github.io/webappsec-upgrade-insecure-requests/#preference">{@code
176
+ * Upgrade-Insecure-Requests}</a> header field name.
177
+ *
178
+ * @since NEXT
179
+ */
180
+ public static final String UPGRADE_INSECURE_REQUESTS = "Upgrade-Insecure-Requests" ;
181
+
175
182
public static final String USER_AGENT = "User-Agent" ;
176
183
177
184
// HTTP Response header fields
You can’t perform that action at this time.
0 commit comments