I am using XMLHttpRequest to call php pages that have ob_start("ob_gzhandler"); at the biginning of the scripts. I get a response back from the server but it's empty. I'm using FireBug to look at the header info and there is none. I'm at a loss as to why this wont work and I can't find much info about using XMLHttprequest and compression. Anyone have experience with this?
Thanks,
Keith
XMLHttpRequest and ob_start("ob_gzhandler");
Moderator: General Moderators
-
Robert Plank
- Forum Contributor
- Posts: 110
- Joined: Sun Dec 26, 2004 9:04 pm
- Contact:
You may use Accept header on your request to exclude compressed content encoding from the list of codings you expect... according to the php docs ob_gzhandler should respect your choice.