diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/net-http-pipeline/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/net-http-pipeline/files')
-rw-r--r-- | dev-ruby/net-http-pipeline/files/net-http-pipeline-accept-encoding.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-ruby/net-http-pipeline/files/net-http-pipeline-accept-encoding.patch b/dev-ruby/net-http-pipeline/files/net-http-pipeline-accept-encoding.patch new file mode 100644 index 000000000000..3adfdf28afdc --- /dev/null +++ b/dev-ruby/net-http-pipeline/files/net-http-pipeline-accept-encoding.patch @@ -0,0 +1,18 @@ +--- test/test_net_http_pipeline.rb.old 2016-11-17 07:58:57.284997283 +0100 ++++ test/test_net_http_pipeline.rb 2016-11-17 07:58:50.345168508 +0100 +@@ -96,6 +96,7 @@ + def http_get + get = [] + get << 'GET / HTTP/1.1' ++ get << 'Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3' + get << 'Accept: */*' + get << 'User-Agent: Ruby' if RUBY_VERSION > '1.9' + get.push nil, nil +@@ -106,6 +107,7 @@ + def http_post + get = [] + get << 'POST / HTTP/1.1' ++ get << 'Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3' + get << 'Accept: */*' + get << 'User-Agent: Ruby' if RUBY_VERSION > '1.9' + get.push nil, nil |