All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

Enable CURLOPT_ENCODING for Inventory caps, which uses the LLURLRequest code path

Review Request #242 - Created March 28, 2011 and submitted

Stone Linden Reviewers
viewer
vwr-25376 oz.linden, joshua.linden, brad.linden
None viewer-development
Enable Accept-Encoding: deflate, gzip in libcurl via setopt CURLOPT_ENCODING. I'm approaching this for Inventory, but it would apply to any HTTP request that goes through the LLURLRequest code path (vs. the LLCurl code path, which already does this).
Inventory loads, and I see the encoding options coming through on the backend apache logs.
Review request changed
Updated (March 31, 2011, 7:32 a.m.)
adding the issue reference in the Bugs field
Ship it!
Posted (March 31, 2011, 5:20 p.m.)
Looks good. 

Empty-string ("") is a signal to curl to send an Accept-Encoding header with any type it understands and can transparently decode on receipt. On the one hand, it might be nice to define a constant empty string so that this behavior is more obvious, but on the other using literal empty strings will match what people might search for.