diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 21:38:04 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 21:38:04 -0700 |
commit | 980c589e3d674b31a2ee734e2767b6460edfc4da (patch) | |
tree | acc4e8dab7f2c6aeee3f969a4f24b255aaa47d13 /lib/gallery.dialog.js | |
parent | 6e80330e19ea8385da35b170f508556cfadf0340 (diff) |
Fix a few more issues
1) Don't use $_SERVER, use Input::instance()->server(). This fixes the problem
that when you use a browser that doesn't pass in an Accept-Encoding, we'd
barf on a missing array key
2) Don't bother looking up the _gz key if we don't have gzencode, because we
probably didn't store one.
3) Only emit the gzip Content-Encoding header if we're actually sending back
gzipped data.
Diffstat (limited to 'lib/gallery.dialog.js')
0 files changed, 0 insertions, 0 deletions