lvh / minitrue

A proxy designed to lie.
ISC License
25 stars 3 forks source link

Easy access to Content-Encoded response bodies #3

Open lvh opened 12 years ago

lvh commented 12 years ago

minitrue.proxy._Response objects should have a decodedContent attribute, which is a file-like that is like content except decoded. Doing gzip encoding manually is something that I've had to do in every single minitrue setup so far.