global keyword misused
added compression for http
is it compressing?