Open mikecsh opened 8 years ago
Actually now it completely stops working because there are two different HTTP libraries included, one from Vapor and one form Zewo.
@sroebert any plan for adapt to Vapor HTTP library?
Actually I would love to have this as well. I wanted to make a pull request, but basically the Zewo implementation will have to change to use the Vapor HTTP library, which I can imagine will not happen. I was kind of waiting for a response by @czechboy0
@sroebert check this out: https://github.com/jhonny-me/GzipMiddleware
@jhonny-me thanks for this - I've submitted a pull request to add support for application/json Content-Type responses
I get the following error:
Error: swift-package: error: The dependency graph could not be satisfied (https://github.com/vapor/vapor.git)
when running vapor fetch when including gzip-provider in my Package.swift like so:
.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 1, minor: 1), .Package(url: "https://github.com/czechboy0/gzip-vapor.git", majorVersion: 0, minor: 3),
I believe this is due to the version of vapor referenced in gzip-providers Package.swift being different?