I guess we should check if we are using a local adapter and if not use compact method of http adapter.