laminas / laminas-http

Provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests
https://docs.laminas.dev/laminas-http/
BSD 3-Clause "New" or "Revised" License
36 stars 27 forks source link

Normalize default user-agent string #39

Closed weierophinney closed 4 years ago

weierophinney commented 4 years ago

Changes the default user-agent from Laminas\Http\Client to Laminas_Http_Client, as many servers and clients do not accept escape characters in the user-agent.

Fixes #38

weierophinney commented 4 years ago

Only build failures are due to a failed SSL handshake with the web server we spin up to test against, which is likely an issue with how we configure the server, not the code.