Skip to content
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

Investigate middleware to perform gzencode for error reporting #250

Open
asgrim opened this issue Dec 28, 2021 · 0 comments
Open

Investigate middleware to perform gzencode for error reporting #250

asgrim opened this issue Dec 28, 2021 · 0 comments
Labels
enhancement New feature or request nice to have This is a "nice to have" feature - not a critical requirement

Comments

@asgrim
Copy link
Collaborator

asgrim commented Dec 28, 2021

#243 (comment)

public function __invoke(string $payload): string
{
return gzencode($payload);
}

shouldn't the HTTP client do this for us?

#243 (comment)

->withHeader('Content-Encoding', 'gzip') // Must be gzipped

could it be handled by a middleware?

See if the above could be improved?

@asgrim asgrim added enhancement New feature or request nice to have This is a "nice to have" feature - not a critical requirement labels Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nice to have This is a "nice to have" feature - not a critical requirement
Projects
None yet
Development

No branches or pull requests

1 participant