Why is my proxy generating a compressed .gz file?

Not applicable

I created a simply passthrough proxy. URL in / URL out. When hitting that url directly I get a json feed. When hitting the Apigee address, I get a downloaded compressed .gz copy of the feed.

Any thoughts?

Solved Solved
0 3 713
1 ACCEPTED SOLUTION

Not applicable

Can you try adding the "UseAcceptHeader" field on the response cache?

This will use the "Accept-encoding" header as part of the cache key and will return the right response value. We had a similar problem at another customer that was resolved by doing this.

View solution in original post

3 REPLIES 3

Not applicable

Do you know if this is happening for all APIs or for just the API you are using? Can you try a different API, like the Yahoo! weather API (see here)?

Not applicable

Can you try adding the "UseAcceptHeader" field on the response cache?

This will use the "Accept-encoding" header as part of the cache key and will return the right response value. We had a similar problem at another customer that was resolved by doing this.

Not applicable

That worked. Thanks!