William R. Arellano
William R. Arellano
> The solution to this issue should allow user customization of the excluded mime types. Thanks, I will take it mind.
> The solution to this issue should allow user customization of the excluded mime types. So, I was taking a look into the `Compress` struct that is used to build...
Only one question for the moment @robjtede. How do we return an uncompressed response?. After skimming through the code. I believe the decision to compress or not should be done...
@robjtede I was able to add a proof of concept of using a predicate function for deciding whether or not to compress based on the value of the Content-Type header...
> @cptrodolfox I spent some time working on this PR today but I can't push to your branch. Can you check [the settings](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork#enabling-repository-maintainer-permissions-on-existing-pull-requests) for this PR? > > Alternatively, apply...
> > @cptrodolfox I spent some time working on this PR today but I can't push to your branch. Can you check [the settings](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork#enabling-repository-maintainer-permissions-on-existing-pull-requests) for this PR? > > Alternatively,...
> The advantage over taking a function pointer is that you can still avoid the generic param and also pass closures as well. Thanks for the answer.
> Should be noted that some auto traits are lost in this PR, wondering if this is okay. > > https://github.com/actix/actix-web/actions/runs/4662131547/jobs/8252158730?pr=2996#step:6:410 > > ``` > Removed items from the public...
Hi @gbaz , I would look into it.
Okey, after looking into it, we could durability to the functions. If we use fileSynchronize from System.Posix.Unistd as done [here](http://hackage.haskell.org/package/safeio-0.0.5.0/docs/src/System-IO-SafeWrite.html#withOutputFile). However, for windows users we would need to use [FlushFileBuffer](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-flushfilebuffers?redirectedfrom=MSDN)...