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

sites-28868 updated request headers #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

sites-28868 updated request headers #34

wants to merge 1 commit into from

Conversation

jkf276
Copy link
Collaborator

@jkf276 jkf276 commented Feb 21, 2025

updated request header to include "AEM Commerce Poller / 1.0" to help identify itself.

Update aem.test.js to expect the new "AEM Commerce Poller / 1.0" header

@jkf276 jkf276 self-assigned this Feb 21, 2025
@dicagno
Copy link
Collaborator

dicagno commented Feb 24, 2025

@jkf276 hey James, should be something like

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 HeadlessChrome/122.0.0.0

"HeadlessChrome" provides transparency around the client being part of an automation, while the rest of the UA string provides reference to Chrome.

@duynguyen
Copy link
Collaborator

not sure how specific it should be, but I was thinking about something like AEM Commerce SSG Poller / 1.0

updated request header to include "AEM Commerce Poller / 1.0" to help identify itself.

Update aem.test.js to expect the new "AEM Commerce Poller / 1.0" header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants