graphhopper / directions-api

Issues for the GraphHopper Directions API
https://graphhopper.com/api/1/docs/
60 stars 25 forks source link

GZIP Content-Encoding no longer working #28

Closed karussell closed 8 years ago

karussell commented 8 years ago

It seems that GraphHopper Maps does not receive gzipped result which makes it also feel a bit slow.

karussell commented 8 years ago

We use in our middle layer similar code like this but we set the mime types explicitly which somehow does not work - avoid the call to setIncludedMimeTypes then gzip works.

Ah, the parameter type is a list of mime types not a string separated by ',' like it is the case for params.put("mimeTypes", ...) in MyServletModule.