Timeline for gzip Compression not working on custom REST API
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 22, 2015 at 20:16 | comment | added | Dror | The issue was that we were returning void from doGet() and setting the data in RestContext.response.responseBody, but didn't do response.addHeader('Content-Type', 'application/json'); Since the responseBody is a blob, As Daniel correctly guessed above, it returns Content-Type: application/octetstream. | |
Apr 16, 2015 at 22:21 | history | edited | Dror | CC BY-SA 3.0 |
added 255 characters in body
|
Apr 16, 2015 at 21:27 | history | answered | Dror | CC BY-SA 3.0 |