File tree Expand file tree Collapse file tree
src/main/java/com/glean/api_client/glean_api_client/hooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 * <p>This hook sets the following headers based on SDK options or environment variables:
1818 * <ul>
1919 * <li>{@code X-Glean-Exclude-Deprecated-After} - Exclude API endpoints deprecated after this date</li>
20- * <li>{@code X-Glean-Experimental} - Enable experimental API features</li>
20+ * <li>{@code X-Glean-Include- Experimental} - Enable experimental API features</li>
2121 * </ul>
2222 *
2323 * <p>Environment variables take precedence over SDK constructor options:
@@ -32,7 +32,7 @@ public final class XGleanHeadersHook {
3232 static final String ENV_INCLUDE_EXPERIMENTAL = "X_GLEAN_INCLUDE_EXPERIMENTAL" ;
3333
3434 static final String HEADER_EXCLUDE_DEPRECATED_AFTER = "X-Glean-Exclude-Deprecated-After" ;
35- static final String HEADER_EXPERIMENTAL = "X-Glean-Experimental" ;
35+ static final String HEADER_EXPERIMENTAL = "X-Glean-Include- Experimental" ;
3636
3737 private XGleanHeadersHook () {
3838 // prevent instantiation
You can’t perform that action at this time.
0 commit comments