Closed pkillian closed 10 years ago
Adds optional Accept-Encoding: gzip header to JSoup's connection requests:
Accept-Encoding: gzip
/application/MainApplication
/data/ConnectionManager.java
/fragment/WebFragment.java
Resolves Issue #60; Accept-Encoding: gzip header now being sent with all in-app requests. Story HTML still being loaded without compression.
Adds optional
Accept-Encoding: gzip
header to JSoup's connection requests:/application/MainApplication
class that serves as an Application instance; get context from anywhere in code/data/ConnectionManager.java
and/fragment/WebFragment.java
to read user preferences to determine if response data should be gzipped or not