Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The momento-datetime header is missing from the response even when the accept-datetime request header is sent #6337

Open
ahsonkhan opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
App Configuration Azure.ApplicationModel.Configuration bug This issue requires a change to an existing behavior in the product in order to be resolved.

Comments

@ahsonkhan
Copy link
Member

When testing the time-based access feature in the C++ AppConfig client SDK (for an endpoint like GetLabels), I don't see the Memento-DateTime header being returned in the response back from the service as described in the doc example here:
https://learn.microsoft.com/en-us/azure/azure-app-configuration/rest-api-labels?pivots=v23-10#time-based-access

I see a "date" header, which is the time when request was received, but not the Memento-DateTime header corresponding to the value in the Accept-DateTime header in the request (which was "Fri, 10 Jan 2025 00:00:00 GMT" ).

This requires further investigation to root cause the issue.

Here's the response headers I see:
Image

GetLabelsOptions options;
options.Name = "paging-*";
options.AcceptDatetime = "Fri, 10 Jan 2025 00:00:00 GMT";

GetLabelsPagedResponse labelsPage = configurationClient.GetLabels("accept", options);

The service team is able to see the expected response header testing the endpoint directly using REST API client:
Image

@ahsonkhan ahsonkhan added App Configuration Azure.ApplicationModel.Configuration bug This issue requires a change to an existing behavior in the product in order to be resolved. labels Jan 13, 2025
@ahsonkhan ahsonkhan self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Configuration Azure.ApplicationModel.Configuration bug This issue requires a change to an existing behavior in the product in order to be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant