We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The default User-Agent header value that is being added automatically to all requests (if not set manually) is invalid
\Amp\Http\Client\HttpClientBuilder::__construct $this->defaultUserAgentInterceptor = new SetRequestHeaderIfUnset('user-agent', 'amphp/http-client @ v5.x');
\Amp\Http\Client\HttpClientBuilder::__construct
$this->defaultUserAgentInterceptor = new SetRequestHeaderIfUnset('user-agent', 'amphp/http-client @ v5.x');
as per rfc7230 section 3.2.6 the symbol @ is reserved (put wrong rfc before)
@
while it's fine on most systems, if a server receiving requests is processing this header according to the rfc rules it starts giving errors
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The default User-Agent header value that is being added automatically to all requests (if not set manually) is invalid
\Amp\Http\Client\HttpClientBuilder::__construct
$this->defaultUserAgentInterceptor = new SetRequestHeaderIfUnset('user-agent', 'amphp/http-client @ v5.x');
as per rfc7230 section 3.2.6 the symbol
@
is reserved(put wrong rfc before)
while it's fine on most systems, if a server receiving requests is processing this header according to the rfc rules it starts giving errors
The text was updated successfully, but these errors were encountered: