Skip to content

Update User-Agent to be respected on all calls #103

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

chrroberts-pure
Copy link
Collaborator

closes #102

@chrroberts-pure chrroberts-pure linked an issue Apr 9, 2025 that may be closed by this pull request
@chrroberts-pure
Copy link
Collaborator Author

before

~~~ REQUEST ~~~
POST  /api/login  HTTP/1.1
HOST   : REDCATED
HEADERS:
	Accept: application/json
	Api-Token: <REDCATED>
	Content-Type: application/json
	User-Agent: go-resty/2.15.3 (https://github.com/go-resty/resty)
BODY   :
***** NO CONTENT *****

after

~~~ REQUEST ~~~
POST  /api/login  HTTP/1.1
HOST   : REDACTED
HEADERS:
	Accept: application/json
	Api-Token: REDACTED
	Content-Type: application/json
	User-Agent: Pure_FB_OpenMetrics_exporter/1.1.2 (PostmanRuntime/7.43.0)
BODY   :
***** NO CONTENT *****

@chrroberts-pure chrroberts-pure requested a review from sdodsley April 9, 2025 20:00
This was referenced Apr 9, 2025
@chrroberts-pure
Copy link
Collaborator Author

tested on Purity //FB 4.1.20

@sdodsley sdodsley merged commit 2dd1a2f into main Apr 9, 2025
@sdodsley sdodsley deleted the 102-make-agent-persist-for-login-and-logout-calls branch April 9, 2025 20:25
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.

Make agent persist for login and logout calls.
2 participants