Skip to content

Commit cdf9731

Browse files
Merge pull request #101 from gleanwork/fix/x-glean-include-experimental-header
fix: emit X-Glean-Include-Experimental header (not X-Glean-Experimental)
2 parents acd75cb + 1550492 commit cdf9731

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/glean/api_client/glean_api_client/hooks/XGleanHeadersHook.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
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

0 commit comments

Comments
 (0)