Send exApp name and version in User-Agent header for requests to nextcloud
Closed this issue · 4 comments
marcelklehr commented
Describe why it is important and where it will be useful
For analysing performance bottlenecks and behvior in general, it would be useful to know which request comes from which exApp.
Describe your proposed solution
Send the exApp name and version in the user-agent header to Nextcloud.
Describe alternatives you've considered, if relevant
.
Additional context
No response
bigcat88 commented
Something like "httpx/{HTTPX_VERSION} ExApp/{EX_APP_ID} Version/{EX_APP_VERSION}" ?
Also cc @kyteinsky @edward-ly
marcelklehr commented
Yeah, that'd be great!
bigcat88 commented
Added custom header ExApp/test-deploy/1.1.0 (httpx/0.24.1) of this type, because it is easier to parse with regex
marcelklehr commented
🎉 Thanks