cozy / cozy-proxy

This repository was part of CozyV2 which has been deprecated - Cozy authentication and routing layer
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
26 stars 31 forks source link

Reduce bandwidth when checking if platform has been updated #206

Closed clochix closed 8 years ago

clochix commented 8 years ago

When performing a platform update, we send lots of queries to /api/applications/stack, to know when the platform is up. The proxy answer with the full 502 page, weighting 7.5ko. We could probably use content negotiation to explicitly request JSON, and the proxy should answer with a light JSON formatted 502 error.

poupotte commented 8 years ago

This issue is now fixed.