Skip to content

Commit e47cad5

Browse files
committed
fix: zlib compression error. Fixes #41
1 parent 178307b commit e47cad5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/link_thumbnailer/processor.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def with_valid_url
3636
end
3737

3838
def set_http_headers
39-
http.headers['User-Agent'] = user_agent
39+
http.headers['User-Agent'] = user_agent
40+
http.headers['Accept-Encoding'] = 'none'
4041
end
4142

4243
def set_http_options

0 commit comments

Comments
 (0)