Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

XHR Encoding Accept Type

I've been doing some testing, and I'm pretty sure that the XHR object Either Doesn't Send, Or doesn't support HTTP_ACCEPT_ENCODING Types, As in GZIP or Deflate, As i have some 16k data that comes closer to 2k when deflated or Gzipped.

Hopefully one of the Appcelerator Team can tell me if I'm forgetting some codes or if it just doesn't support this.

Regards,
Ryan

— asked September 20th 2010 by Ryan Tregea
  • android
  • encode
  • gzip
  • types
  • xhr
0 Comments

1 Answer

  • Sorry I Take this back, It seems to support GZIP, I've enabled it on some testing, However for some reason the php

    echo $_SERVER['HTTP_ACCEPT_ENCODING'];
    

    return Nothing.

    Seems to Work, So I guess this is closed.

    — answered September 20th 2010 by Ryan Tregea
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.