DescriptionSupport gzip-compressed seed data from the variations server.
Firstly, the client asks for gzip-compressed data by adding "gzip" to
A-IM HTTP request header. Secondly, if "gzip" is present in IM HTTP
response header, the client uncompresses data. Gzip compression could be
used in combination with delta compression.
A-IM and IM headers are defined in RFC 3229:
http://tools.ietf.org/html/rfc3229#page-32
This CL re-adds components/variations/service tests to components_unittests.
BUG=543271
Committed: https://crrev.com/f6acefe76a605a6fc17714306919c56ab3b2e2af
Cr-Commit-Position: refs/heads/master@{#354788}
Patch Set 1 #Patch Set 2 : Fix signed-unsigned comparison issue #
Total comments: 14
Patch Set 3 : Move IM header logic into a separate function; check empty seed data #
Total comments: 8
Patch Set 4 : Resolved comments #
Total comments: 16
Patch Set 5 : Resolve comments #
Total comments: 2
Patch Set 6 : #
Messages
Total messages: 18 (4 generated)
|