phpCAS
phpCAS copied to clipboard
Set User Agent
Application firewalls tend to block HTTP requests without any User Agent set. I could change this a you would prefer, but the User Agent must be set.
CURL does have a default user agent - that one might be what's causing some firewall unhappy.
Do we want to attach the phpCAS library version with the user agent string, which seems to be a regular practice?
Thank you for your quick response. In my experience, PHP curl does not have a default user agent for web requests. It seems from this RFC that it is proposed for PHP 8.2.
How would you like to proceed with this? I think I've added the library version correctly.
Thanks @Fydon for your contribution