ThibaultOriginal post
Flutter Developer
Hi,
In a function I use in Appwrite Cloud, I would like to get the locale of the user to translate my response accordingly.
I use the dart sdk, and set the locale in the client.
When debugging, I see that in the Future<Response> call that the header is well set with: "X-Appwrite-Locale" -> "fr_FR", which seems fine.
When logging all headers in the function call, I can not find this header, can someone explain what I am doing wrong?
Summary
Developers are facing an issue where headers seem to disappear in an Appwrite Cloud function, specifically related to setting and retrieving the locale header using the Dart SDK. Although the header is correctly set in the `call` function, it is missing when logging all headers in the function call. The header should be accessible and visible in the logs.