Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-http/ruby-http_4.4.1-4_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-http-4.4.1-43fwvcci2/ruby-http_4.4.1-4_all.buildinfo Get source package info: ruby-http=4.4.1-4 Source URL: http://snapshot.notset.fr/mr/package/ruby-http/4.4.1-4/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.69-11.1 automake=1:1.16.2-1 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34-8 binutils-common=2.34-8 binutils-x86-64-linux-gnu=2.34-8 bsdextrautils=2.35.2-6 bsdutils=1:2.35.2-6 build-essential=12.8 bzip2=1.0.8-3 ca-certificates=20200601 coreutils=8.32-2 cpp=4:9.2.1-3.1 cpp-9=9.3.0-14 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.1 debianutils=4.11 devscripts=2.20.4 dh-autoreconf=19 dh-strip-nondeterminism=1.8.1-1 diffutils=1:3.7-3 dirmngr=2.2.20-1 dmsetup=2:1.02.167-1+b1 dpkg=1.20.2 dpkg-dev=1.20.2 dwz=0.13-5 fakeroot=1.24-1 file=1:5.38-5 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.3.0-14 gcc=4:9.2.1-3.1 gcc-10-base=10.1.0-4 gcc-9=9.3.0-14 gcc-9-base=9.3.0-14 gem2deb=1.1 gem2deb-test-runner=1.1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnupg=2.2.20-1 gnupg-l10n=2.2.20-1 gnupg-utils=2.2.20-1 gpg=2.2.20-1 gpg-agent=2.2.20-1 gpg-wks-client=2.2.20-1 gpg-wks-server=2.2.20-1 gpgconf=2.2.20-1 gpgsm=2.2.20-1 gpgv=2.2.20-1 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 javascript-common=11 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libargon2-1=0~20171227-0.2 libasan5=9.3.0-14 libassuan0=2.5.3-7.1 libatomic1=10.1.0-4 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libb-hooks-op-check-perl=0.22-1+b2 libbinutils=2.34-8 libblkid1=2.35.2-6 libbz2-1.0=1.0.8-3 libc-bin=2.30-8 libc-dev-bin=2.30-8 libc6=2.30-8 libc6-dev=2.30-8 libcap-ng0=0.7.9-2.2 libcc1-0=10.1.0-4 libclass-method-modifiers-perl=2.13-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libcryptsetup12=2:2.3.3-1 libctf-nobfd0=2.34-8 libctf0=2.34-8 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.252 libdebhelper-perl=13.1 libdevel-callchecker-perl=0.008-1+b1 libdevmapper1.02.1=2:1.02.167-1+b1 libdpkg-perl=1.20.2 libdynaloader-functions-perl=0.003-1 libelf1=0.176-1.1 libencode-locale-perl=1.05-1 libexpat1=2.2.9-1 libfakeroot=1.24-1 libffi7=3.3-4 libfile-homedir-perl=1.004-1 libfile-listing-perl=6.04-1 libfile-stripnondeterminism-perl=1.8.1-1 libfile-which-perl=1.23-1 libgcc-9-dev=9.3.0-14 libgcc-s1=10.1.0-4 libgcrypt20=1.8.5-5 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.3-1 libgmp-dev=2:6.2.0+dfsg-6 libgmp10=2:6.2.0+dfsg-6 libgmpxx4ldbl=2:6.2.0+dfsg-6 libgnutls30=3.6.14-2 libgomp1=10.1.0-4 libgpg-error0=1.38-1 libhogweed5=3.5.1+really3.5.1-2 libhtml-parser-perl=3.72-5 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.08-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.24-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-2 libidn2-0=2.3.0-1 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1 libio-pty-perl=1:1.12-1 libio-socket-ssl-perl=2.067-1 libipc-run-perl=20200505.0-1 libisl22=0.22.1-1 libitm1=10.1.0-4 libjs-jquery=3.5.1+dfsg-4 libjs-jquery-easing=12-1.1 libjs-jquery-fancybox=12-1.1 libjs-jquery-mousewheel=1:3.1.13-2 libjs-jquery-ui=1.12.1+dfsg-5 libjson-c4=0.13.1+dfsg-9 libksba8=1.4.0-2 libldap-2.4-2=2.4.50+dfsg-1 libldap-common=2.4.50+dfsg-1 liblsan0=10.1.0-4 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.07-2 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmodule-runtime-perl=0.016-1 libmoo-perl=2.004000-1 libmount1=2.35.2-6 libmpc3=1.1.0-1 libmpdec2=2.4.2-3 libmpfr6=4.0.2-1 libncursesw6=6.2-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-3 libnettle7=3.5.1+really3.5.1-2 libnpth0=1.6-2 libp11-kit0=0.23.20-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparams-classify-perl=0.015-1+b2 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libpython3-stdlib=3.8.2-3 libpython3.8-minimal=3.8.3-1 libpython3.8-stdlib=3.8.3-1 libquadmath0=10.1.0-4 libreadline8=8.0-4 librole-tiny-perl=2.001004-1 libruby2.7=2.7.1-3 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.3-1+b1 libselinux1=3.0-1+b3 libsemanage-common=3.0-1 libsemanage1=3.0-1+b3 libsepol1=3.0-1 libsigsegv2=2.12-2 libsmartcols1=2.35.2-6 libsqlite3-0=3.32.3-1 libssl1.1=1.1.1g-1 libstdc++-9-dev=9.3.0-14 libstdc++6=10.1.0-4 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=245.6-1 libtasn1-6=4.16.0-2 libtimedate-perl=2.3300-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10.1.0-4 libubsan1=10.1.0-4 libuchardet0=0.0.7-1 libudev1=245.6-1 libunistring2=0.9.10-4 liburi-perl=1.76-2 libuuid1=2.35.2-6 libwww-perl=6.46-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-5+b1 libyaml-0-2=0.2.2-1 linux-libc-dev=5.7.6-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-3 man-db=2.9.3-1 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 netbase=6.1 node-jquery=3.5.1+dfsg-4 openssl=1.1.1g-1 passwd=1:4.8.1-1 patch=2.7.6-6 patchutils=0.3.4-3 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21 publicsuffix=20200506.1625-1 python3=3.8.2-3 python3-minimal=3.8.2-3 python3.8=3.8.3-1 python3.8-minimal=3.8.3-1 rake=13.0.1-4 readline-common=8.0-4 ruby=1:2.7+1 ruby-addressable=2.7.0-1 ruby-all-dev=1:2.7+1 ruby-certificate-authority=0.2.0~434c15cd-1 ruby-coveralls=0.8.23-1 ruby-diff-lcs=1.3-1 ruby-docile=1.1.5-2 ruby-domain-name=0.5.20160216-2 ruby-ffi=1.12.2+dfsg-2+b2 ruby-ffi-compiler=1.0.1-4 ruby-http-cookie=1.0.3-1 ruby-http-form-data=2.2.0-1 ruby-http-parser=1.2.1-3 ruby-mime-types=3.3.1-1 ruby-mime-types-data=3.2015.1120-1 ruby-minitest=5.13.0-1 ruby-multi-json=1.14.1-1 ruby-net-telnet=0.1.1-2 ruby-netrc=0.11.0-3 ruby-power-assert=1.1.7-1 ruby-public-suffix=3.0.3+ds-1 ruby-rest-client=2.0.2-3.1 ruby-rspec=3.9.0c1e0m1s2-1 ruby-rspec-core=3.9.0c1e0m1s2-1 ruby-rspec-expectations=3.9.0c1e0m1s2-1 ruby-rspec-its=1.3.0-1 ruby-rspec-mocks=3.9.0c1e0m1s2-1 ruby-rspec-support=3.9.0c1e0m1s2-1 ruby-setup=3.4.1-9 ruby-simplecov=0.18.5-1 ruby-simplecov-html=0.11.0-1 ruby-sync=0.5.0-2 ruby-term-ansicolor=1.3.0-1 ruby-test-unit=3.3.5-1 ruby-thor=0.20.3-2 ruby-tins=1.1.0-2 ruby-unf=0.1.4-2 ruby-unf-ext=0.0.7.6-1+b2 ruby-xmlrpc=0.3.0-2 ruby2.7=2.7.1-3 ruby2.7-dev=2.7.1-3 rubygems-integration=1.17.1 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.35.2-6 wdiff=1.2.2-2+b1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200629T084301Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ruby-http=4.4.1-4 && mkdir -p /build/ruby-http-YcNdQk && dpkg-source --no-check -x /*.dsc /build/ruby-http-YcNdQk/ruby-http-4.4.1 && chown -R builduser:builduser /build/ruby-http-YcNdQk" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-http-YcNdQk/ruby-http-4.4.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1593627739" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-http-YcNdQk /tmp/ruby-http-4.4.1-43fwvcci2 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200629T084301Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.zrO6t18f3e as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.zrO6t18f3e Reading package lists... Building dependency tree... util-linux is already the newest version (2.35.2-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200629T084301Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200629T084301Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (717 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4632 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.30-8) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200629T084301Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.zrO6t18f3e Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200629T084301Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1201 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.zrO6t18f3e I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-http=4.4.1-4 && mkdir -p /build/ruby-http-YcNdQk && dpkg-source --no-check -x /*.dsc /build/ruby-http-YcNdQk/ruby-http-4.4.1 && chown -R builduser:builduser /build/ruby-http-YcNdQk"' exec /tmp/mmdebstrap.zrO6t18f3e Reading package lists... NOTICE: 'ruby-http' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-http.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-http.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 81.1 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-http 4.4.1-4 (dsc) [2227 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-http 4.4.1-4 (tar) [73.4 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-http 4.4.1-4 (diff) [5440 B] Fetched 81.1 kB in 0s (705 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-http_4.4.1-4.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-http in /build/ruby-http-YcNdQk/ruby-http-4.4.1 dpkg-source: info: unpacking ruby-http_4.4.1.orig.tar.gz dpkg-source: info: unpacking ruby-http_4.4.1-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying disable-network-tests.patch dpkg-source: info: applying add-missing-x509v3-extensions-in-spec dpkg-source: info: applying disable-ssl-tests.patch dpkg-source: info: applying 0004-Skip-failing-flaky-test.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-http-YcNdQk/ruby-http-4.4.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1593627739" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.zrO6t18f3e dpkg-buildpackage: info: source package ruby-http dpkg-buildpackage: info: source version 4.4.1-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Lucas Kanashiro dpkg-source --before-build . debian/rules clean dh clean dh_clean rm -rf tmp rm -rf coverage debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http dh_ruby --install ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/response.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/redirector.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/redirector.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/request.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/request.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/request/body.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/request/body.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/request/writer.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/request/writer.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/feature.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/feature.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/errors.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/errors.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/features/auto_inflate.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/features/auto_inflate.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/features/logging.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/features/logging.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/features/auto_deflate.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/features/auto_deflate.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/features/normalize_uri.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/features/normalize_uri.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/features/instrumentation.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/features/instrumentation.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/uri.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/uri.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/headers.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/headers.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/timeout/global.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/timeout/global.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/timeout/per_operation.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/timeout/per_operation.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/timeout/null.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/timeout/null.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/headers/mixin.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/headers/mixin.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/headers/known.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/headers/known.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/chainable.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/chainable.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/content_type.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/content_type.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/mime_type.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/mime_type.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/mime_type/json.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/mime_type/json.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/mime_type/adapter.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/mime_type/adapter.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/connection.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/connection.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/client.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/client.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/response/status/reasons.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/status/reasons.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/response/status.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/status.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/response/parser.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/parser.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/response/inflater.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/inflater.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/response/body.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/body.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/options.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/options.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/version.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/version.rb install -D -m644 /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http.rb /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby/http.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/share/rubygems-integration/all/specifications/http-4.4.1.gemspec /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -e gem\ \"http\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-http-YcNdQk/ruby-http-4.4.1/debian/ruby-http/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation /usr/lib/ruby/vendor_ruby/certificate_authority/key_material.rb:74: warning: method redefined; discarding old private_key /usr/lib/ruby/vendor_ruby/certificate_authority/key_material.rb:78: warning: method redefined; discarding old public_key /usr/lib/ruby/vendor_ruby/certificate_authority/key_material.rb:112: warning: method redefined; discarding old public_key /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:62: warning: method redefined; discarding old path_len= /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:425: warning: method redefined; discarding old uris= /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:430: warning: method redefined; discarding old dns_names= /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:435: warning: method redefined; discarding old ips= /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:440: warning: method redefined; discarding old emails= /usr/lib/ruby/vendor_ruby/certificate_authority/ocsp_handler.rb:116: warning: assigned but unused variable - certificate Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} Randomized with seed 60181 HTTP /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized unifies socket errors into HTTP::ConnectionError .cookies properly merges Cookie headers and cookies passes correct `Cookie` header properly works with cookie jars from response properly merges cookies .timeout specifying a null timeout sets timeout_class to Null specifying per operation timeouts sets timeout_class to PerOperation sets given timeout options specifying a global timeout sets timeout_class to Global sets given timeout option loading binary data is encoded as bytes with redirects is easy for 302 is easy for 301 .auth accepts any #to_s object sets Authorization header to the given value passing a string encoding type finds encoding posting with an explicit body is easy .use turns on given feature with :normalize_uri normalizes URI uses the default URI normalizer uses the custom URI Normalizer method with :auto_inflate returns raw body when Content-Encoding type is missing returns deflated body returns decoded body with :auto_deflate sends deflated body sends gzipped body posting forms to resources is easy .persistent with timeout specified sets keep_alive_timeout with host and block given returns last evaluation of last expression (PENDING: Temporarily skipped with xit) auto-closes connection (PENDING: Temporarily skipped with xit) with host only given example at ./spec/lib/http_spec.rb:261 (PENDING: Temporarily skipped with xit) example at ./spec/lib/http_spec.rb:260 (PENDING: Temporarily skipped with xit) .basic_auth fails when options is not a Hash fails when :user is not given fails when :pass is not given sets Authorization header with proper BasicAuth value .via anonymous proxy raises an argument error if no port given proxies the request ignores credentials responds with the endpoint's body ssl responds with the endpoint's body (PENDING: Temporarily skipped with xcontext) ignores credentials (PENDING: Temporarily skipped with xcontext) proxy with authentication proxies the request responds with 407 if no credentials given responds with the endpoint's body responds with 407 when wrong credentials given ssl responds with the endpoint's body (PENDING: Temporarily skipped with xcontext) responds with 407 when wrong credentials given (PENDING: Temporarily skipped with xcontext) responds with 407 if no credentials given (PENDING: Temporarily skipped with xcontext) loading text with no charset is binary encoded loading endpoint with charset uses charset from headers with encoding option respects option getting resources is easy with two leading slashes in path is allowed with a large request body with `.timeout(6)` writes the whole body with `.timeout(:null)` writes the whole body with `.timeout({:read=>2, :write=>2, :connect=>2})` writes the whole body with query string parameters in the URI and opts hash includes both with headers is easy with URI instance is easy with query string parameters is easy head requests is easy .nodelay sets TCP_NODELAY on the underlying socket HTTP::URI knows URI schemes sets default ports for HTTP URIs sets default ports for HTTPS URIs #dup doesn't share internal value between duplicates HTTP::ContentType .parse with text/plain; foo=bar; charset=utf-8 mime_type is expected to eq "text/plain" charset is expected to eq "utf-8" with text/plain charset is expected to be nil mime_type is expected to eq "text/plain" with text/plain; charset=utf-8 charset is expected to eq "utf-8" mime_type is expected to eq "text/plain" with text/plain;charset=utf-8;foo=bar charset is expected to eq "utf-8" mime_type is expected to eq "text/plain" with text/plain; charset="utf-8" charset is expected to eq "utf-8" mime_type is expected to eq "text/plain" with text/plain; charSET=utf-8 mime_type is expected to eq "text/plain" charset is expected to eq "utf-8" with tEXT/plaIN charset is expected to be nil mime_type is expected to eq "text/plain" HTTP::Options proxy defaults to {} accepts proxy address, port, username, and password may be specified with with_proxy HTTP::Response includes HTTP::Headers::Mixin #flush returns response self-reference flushes body mime_type with Content-Type: text/html; charset=utf-8 is expected to eq "text/html" with Content-Type: text/html is expected to eq "text/html" without Content-Type header is expected to be nil #connection returns the connection object used to instantiate the response #parse with explicitly given mime type ignores mime_type of response supports MIME type aliases with known content type returns parsed body with unknown content type raises HTTP::Error #chunked? is expected not to be chunked when encoding is set to chunked is expected to be chunked #inspect is expected to eq "#\"text/plain\"}>" #cookies does not contains cookies limited to non-requeted uri contains cookies without domain restriction contains cookies limited to domain of request uri is expected to be a kind of HTTP::CookieJar to_a returns a Rack-like array charset without Content-Type header is expected to be nil with Content-Type: text/html; charset=utf-8 is expected to eq "utf-8" with Content-Type: text/html is expected to be nil #content_length without Content-Length header is expected to be nil with invalid Content-Length is expected to be nil with Content-Length: 5 is expected to eq 5 HTTP::Response::Body streams bodies from responses when body is gzipped decodes body #readpartial streams decoded body #readpartial returns content in specified encoding with size given passes value to underlying connection without size given calls underlying connection readpartial without specific size does not blows up when body empty returns responds to empty? with true HTTP::Features::Logging logging the response should log the response logging the request should log the request HTTP::Client with a global timeout errors if connecting takes too long errors if reading takes too long it resets state when reusing connections does not timeout #perform calls finish_response once body was fully flushed when server fully flushes response in one chunk properly reads body when uses chunked transfer encoding properly reads body with broken body (too early closed connection) raises HTTP::ConnectionError with HEAD request does not iterates through body finishes response after headers were received passing json encodes given object with a per operation timeout works read of 0 times out (PENDING: Temporarily skipped with xit) of 2.5 does not time out connection of 1 does not time out passing multipart form data creates url encoded form data object creates multipart form data object when passing an HTTP::FormData object directly /build/ruby-http-YcNdQk/ruby-http-4.4.1/spec/lib/http/client_spec.rb:196: warning: Passing the keyword argument as the last hash parameter is deprecated /usr/lib/ruby/vendor_ruby/http/form_data/multipart.rb:18: warning: The called method `initialize' is defined here creates url encoded form data object connection reuse when disabled opens new sockets when enabled re-uses the socket without a host infers host from persistent config when reading a cached body succeeds when trying to read a stale body errors with a change in host errors with a socket issue transparently reopens on a mixed state re-opens the connection without timeouts works following redirects prepends previous request uri scheme and host if needed returns response of new location fails upon endless redirects fails if max amount of hops reached with non-ASCII URLs works like a charm in real world (PENDING: Temporarily skipped with xit) theoretically works like a charm (PENDING: Temporarily skipped with xit) working with SSL just works (PENDING: Temporarily skipped with xdescribe) fails with OpenSSL::SSL::SSLError if host mismatch (PENDING: Temporarily skipped with xdescribe) with a per operation timeout works (PENDING: Temporarily skipped with xdescribe) read of 0 times out (PENDING: Temporarily skipped with xit) of 2.5 does not time out (PENDING: Temporarily skipped with xdescribe) connection of 1 does not time out (PENDING: Temporarily skipped with xdescribe) connection reuse when disabled opens new sockets (PENDING: Temporarily skipped with xdescribe) when enabled re-uses the socket (PENDING: Temporarily skipped with xdescribe) when trying to read a stale body errors (PENDING: Temporarily skipped with xdescribe) without a host infers host from persistent config (PENDING: Temporarily skipped with xdescribe) with a change in host errors (PENDING: Temporarily skipped with xdescribe) on a mixed state re-opens the connection (PENDING: Temporarily skipped with xdescribe) when reading a cached body succeeds (PENDING: Temporarily skipped with xdescribe) with a socket issue transparently reopens (PENDING: Temporarily skipped with xdescribe) without timeouts works (PENDING: Temporarily skipped with xdescribe) with SSL options instead of a context just works (PENDING: Temporarily skipped with xdescribe) with a global timeout errors if reading takes too long (PENDING: Temporarily skipped with xdescribe) errors if connecting takes too long (PENDING: Temporarily skipped with xdescribe) it resets state when reusing connections does not timeout (PENDING: Temporarily skipped with xdescribe) #request with non-ASCII URLs theoretically works like a charm (PENDING: Temporarily skipped with xit) works like a charm in real world (PENDING: Temporarily skipped with xit) when :auto_deflate was specified sets Content-Encoding header deletes Content-Length header and there is no body doesn't set Content-Encoding header with explicitly given `Host` header keeps `Host` header as is (PENDING: Temporarily skipped with xit) parsing params properly encodes colons does not convert newlines into \r\n before encoding string values accepts params within the provided URL does not modifies query part if no params were given does not corrupts index-less arrays combines GET params from the URI with the passed in params merges duplicate values HTTP::Options has reader methods for attributes coerces to a Hash HTTP::Headers is Enumerable #keys normalizes keys returns uniq keys only #to_a returns Array of key/value pairs with normalized keys returns an Array #merge overwrites existing values does not affects original headers is expected not to equal ["Host", "example.com"] and ["Accept", "application/json"] leaves headers not presented in other as is appends other headers, not presented in base is expected to be a kind of HTTP::Headers #merge! overwrites existing values leaves headers not presented in other as is appends other headers, not presented in base #add normalizes header name allows append multiple values fails with invalid header name fails with empty header name appends new value if header exists sets header value #to_h returns Hash with normalized keys returns a Hash for a header with multiple values provides an array of values for a header with single value provides a value as is #dup is expected not to equal ["Content-Type", "application/json"] has headers copied is expected to be a kind of HTTP::Headers modifying a copy does not affects original headers modifies dupped copy #== sensitive to headers order allows comparison with Array of key/value pairs compares header keys and values sensitive to header values order #include? tells whenever given headers is set or not normalizes given header name #delete fails with empty header name removes given header fails with invalid header name normalizes header name #hash equals if two headers equals #get normalizes header name fails with empty header name returns array of associated values fails with invalid header name when header does not exists returns empty array .empty? when header exists is expected to equal false when last header was removed is expected to equal true initially is expected to equal true #inspect is expected to eq "#[\"hoo=ray\", \"woo=hoo\"]}>" .coerce fails if given object cannot be coerced accepts any object that respond to #to_a accepts any object that respond to #to_h is aliased as .[] accepts any object that respond to #to_hash with duplicate header keys (mixed case) adds all headers #[]= sets header value overwrites previous value allows set multiple values normalizes header name #each returns self instance if block given yields each key/value pair separatedly returns Enumerator if no block given yields headers in the same order they were added #set normalizes header name sets header value overwrites previous value fails with empty header name fails with invalid header name allows set multiple values #[] when header has a single value returns it returns a single value normalizes header name when header does not exists returns nil when header has a multiple values normalizes header name returns array of associated values HTTP::Features::Instrumentation logging the request should log the request logging the response should log the response HTTP::Options form may be specified with with_form_data defaults to nil HTTP::Options new supports a Options instance with a Hash coerces :proxy correctly coerces :response correctly coerces :form correctly coerces :headers correctly HTTP::Options merge merges as excepted in complex cases supports another Options supports a Hash HTTP::Request sets given headers includes HTTP::Headers::Mixin provides a #scheme accessor /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/request.rb:91: warning: instance variable @scheme not initialized requires URI to have scheme part provides a #verb accessor #headline is expected to eq "GET /foo?bar=baz HTTP/1.1" when URI contains fragment omits fragment part with proxy is expected to eq "GET http://example.com/foo?bar=baz HTTP/1.1" and HTTPS uri is expected to eq "GET /foo?bar=baz HTTP/1.1" when URI contains encoded query does not unencodes query part when URI contains non-ASCII path encodes non-ASCII path part User-Agent header was explicitly given is expected to eq "MrCrawly/123" was not given is expected to eq "http.rb/4.4.1" #inspect is expected to eq "#" #redirect presets new Host header uri is expected to eq # with URL with non-standard port given presets new Host header body is expected to eq # uri is expected to eq # verb is expected to eq :post proxy is expected to eq {:proxy_password=>"adams", :proxy_username=>"douglas"} with schema-less absolute URL given presets new Host header proxy is expected to eq {:proxy_password=>"adams", :proxy_username=>"douglas"} verb is expected to eq :post body is expected to eq # uri is expected to eq # body is expected to eq # verb is expected to eq :post proxy is expected to eq {:proxy_password=>"adams", :proxy_username=>"douglas"} with relative URL given keeps Host header proxy is expected to eq {:proxy_password=>"adams", :proxy_username=>"douglas"} body is expected to eq # with original URI having non-standard port uri is expected to eq # verb is expected to eq :post uri is expected to eq # with relative URL that misses leading slash given keeps Host header with original URI having non-standard port uri is expected to eq # proxy is expected to eq {:proxy_password=>"adams", :proxy_username=>"douglas"} uri is expected to eq # body is expected to eq # verb is expected to eq :post with new verb given verb is expected to equal :get Host header was explicitly given is expected to eq "github.com" was not given is expected to eq "example.com" and request URI has non-standard port is expected to eq "example.com:3000" HTTP::Request::Body #== when sources are equivalent returns true when sources are not equivalent returns false when objects are not of the same class returns false #initialize when body is an IO does not raise an error when body is an Enumerable does not raise an error when body is nil does not raise an error when body is a string does not raise an error when body is of unrecognized type raises an error #size when body is nil returns zero when body is an Enumerable raises a RequestError when body is an IO without size raises a RequestError when body is an IO with size returns IO size when body is a string returns string bytesize #each when body is a pipe yields chunks of content when body is a string yields the string when body is an Enumerable IO yields chunks of content allows to enumerate multiple times when body is nil yields nothing when body is a non-Enumerable IO yields chunks of content when body is an Enumerable yields elements #source returns the original object HTTP::Features::AutoDeflate accepts gzip method raises error for wrong type uses gzip by default accepts string as method accepts deflate method #deflated_body when method is deflate caches compressed content when size is called returns object which yields deflated content of the given body when method is gzip returns object which yields gzipped content of the given body caches compressed content when size is called HTTP::Response::Status #upgrade_required? when code is lower than 426 is expected to equal false when code is higher than 426 is expected to equal false when code is 426 is expected to equal true #internal_server_error? when code is 500 is expected to equal true when code is lower than 500 is expected to equal false when code is higher than 500 is expected to equal false #reset_content? when code is lower than 205 is expected to equal false when code is 205 is expected to equal true when code is higher than 205 is expected to equal false #permanent_redirect? when code is higher than 308 is expected to equal false when code is 308 is expected to equal true when code is lower than 308 is expected to equal false with 5xx codes is not #informational? is not #redirect? is not #client_error? is not #success? is #server_error? #to_sym with well-known code: 206 is expected to equal :partial_content with well-known code: 501 is expected to equal :not_implemented with well-known code: 428 is expected to equal :precondition_required with well-known code: 417 is expected to equal :expectation_failed with well-known code: 407 is expected to equal :proxy_authentication_required with well-known code: 200 is expected to equal :ok with well-known code: 300 is expected to equal :multiple_choices with unknown code is expected to be nil with well-known code: 305 is expected to equal :use_proxy with well-known code: 410 is expected to equal :gone with well-known code: 405 is expected to equal :method_not_allowed with well-known code: 302 is expected to equal :found with well-known code: 505 is expected to equal :http_version_not_supported with well-known code: 423 is expected to equal :locked with well-known code: 204 is expected to equal :no_content with well-known code: 511 is expected to equal :network_authentication_required with well-known code: 100 is expected to equal :continue with well-known code: 400 is expected to equal :bad_request with well-known code: 301 is expected to equal :moved_permanently with well-known code: 508 is expected to equal :loop_detected with well-known code: 402 is expected to equal :payment_required with well-known code: 202 is expected to equal :accepted with well-known code: 503 is expected to equal :service_unavailable with well-known code: 414 is expected to equal :uri_too_long with well-known code: 429 is expected to equal :too_many_requests with well-known code: 408 is expected to equal :request_timeout with well-known code: 208 is expected to equal :already_reported with well-known code: 406 is expected to equal :not_acceptable with well-known code: 101 is expected to equal :switching_protocols with well-known code: 502 is expected to equal :bad_gateway with well-known code: 451 is expected to equal :unavailable_for_legal_reasons with well-known code: 411 is expected to equal :length_required with well-known code: 416 is expected to equal :range_not_satisfiable with well-known code: 203 is expected to equal :non_authoritative_information with well-known code: 401 is expected to equal :unauthorized with well-known code: 431 is expected to equal :request_header_fields_too_large with well-known code: 506 is expected to equal :variant_also_negotiates with well-known code: 507 is expected to equal :insufficient_storage with well-known code: 412 is expected to equal :precondition_failed with well-known code: 102 is expected to equal :processing with well-known code: 226 is expected to equal :im_used with well-known code: 304 is expected to equal :not_modified with well-known code: 510 is expected to equal :not_extended with well-known code: 409 is expected to equal :conflict with well-known code: 308 is expected to equal :permanent_redirect with well-known code: 207 is expected to equal :multi_status with well-known code: 303 is expected to equal :see_other with well-known code: 404 is expected to equal :not_found with well-known code: 415 is expected to equal :unsupported_media_type with well-known code: 500 is expected to equal :internal_server_error with well-known code: 413 is expected to equal :payload_too_large with well-known code: 307 is expected to equal :temporary_redirect with well-known code: 205 is expected to equal :reset_content with well-known code: 424 is expected to equal :failed_dependency with well-known code: 422 is expected to equal :unprocessable_entity with well-known code: 426 is expected to equal :upgrade_required with well-known code: 201 is expected to equal :created with well-known code: 403 is expected to equal :forbidden with well-known code: 504 is expected to equal :gateway_timeout with well-known code: 421 is expected to equal :misdirected_request #not_implemented? when code is lower than 501 is expected to equal false when code is higher than 501 is expected to equal false when code is 501 is expected to equal true #unsupported_media_type? when code is 415 is expected to equal true when code is lower than 415 is expected to equal false when code is higher than 415 is expected to equal false #not_acceptable? when code is lower than 406 is expected to equal false when code is higher than 406 is expected to equal false when code is 406 is expected to equal true #im_used? when code is lower than 226 is expected to equal false when code is 226 is expected to equal true when code is higher than 226 is expected to equal false #request_header_fields_too_large? when code is 431 is expected to equal true when code is lower than 431 is expected to equal false when code is higher than 431 is expected to equal false #expectation_failed? when code is lower than 417 is expected to equal false when code is higher than 417 is expected to equal false when code is 417 is expected to equal true #locked? when code is 423 is expected to equal true when code is lower than 423 is expected to equal false when code is higher than 423 is expected to equal false #gone? when code is lower than 410 is expected to equal false when code is 410 is expected to equal true when code is higher than 410 is expected to equal false #see_other? when code is 303 is expected to equal true when code is lower than 303 is expected to equal false when code is higher than 303 is expected to equal false #variant_also_negotiates? when code is 506 is expected to equal true when code is lower than 506 is expected to equal false when code is higher than 506 is expected to equal false #moved_permanently? when code is lower than 301 is expected to equal false when code is higher than 301 is expected to equal false when code is 301 is expected to equal true #length_required? when code is higher than 411 is expected to equal false when code is lower than 411 is expected to equal false when code is 411 is expected to equal true #bad_request? when code is lower than 400 is expected to equal false when code is 400 is expected to equal true when code is higher than 400 is expected to equal false #unavailable_for_legal_reasons? when code is lower than 451 is expected to equal false when code is higher than 451 is expected to equal false when code is 451 is expected to equal true with 2xx codes is not #server_error? is not #client_error? is not #redirect? is #success? is not #informational? #conflict? when code is higher than 409 is expected to equal false when code is lower than 409 is expected to equal false when code is 409 is expected to equal true #ok? when code is 200 is expected to equal true when code is higher than 200 is expected to equal false when code is lower than 200 is expected to equal false #non_authoritative_information? when code is higher than 203 is expected to equal false when code is lower than 203 is expected to equal false when code is 203 is expected to equal true #failed_dependency? when code is higher than 424 is expected to equal false when code is 424 is expected to equal true when code is lower than 424 is expected to equal false #partial_content? when code is lower than 206 is expected to equal false when code is 206 is expected to equal true when code is higher than 206 is expected to equal false #precondition_required? when code is lower than 428 is expected to equal false when code is higher than 428 is expected to equal false when code is 428 is expected to equal true .coerce is aliased as `.[]` fails if coercion failed with String fails when reason is unknown coerces reasons with Numeric coerces as Fixnum code with Symbol fails when symbolized reason is unknown coerces symbolized reasons #inspect returns quoted code and reason phrase #precondition_failed? when code is lower than 412 is expected to equal false when code is 412 is expected to equal true when code is higher than 412 is expected to equal false #not_modified? when code is higher than 304 is expected to equal false when code is lower than 304 is expected to equal false when code is 304 is expected to equal true #code is expected to eq 200 is expected to be a kind of Integer #misdirected_request? when code is lower than 421 is expected to equal false when code is 421 is expected to equal true when code is higher than 421 is expected to equal false #http_version_not_supported? when code is lower than 505 is expected to equal false when code is higher than 505 is expected to equal false when code is 505 is expected to equal true #created? when code is 201 is expected to equal true when code is higher than 201 is expected to equal false when code is lower than 201 is expected to equal false #bad_gateway? when code is 502 is expected to equal true when code is higher than 502 is expected to equal false when code is lower than 502 is expected to equal false ::SYMBOLS [400] is expected to equal :bad_request [200] is expected to equal :ok #unauthorized? when code is 401 is expected to equal true when code is higher than 401 is expected to equal false when code is lower than 401 is expected to equal false #gateway_timeout? when code is 504 is expected to equal true when code is lower than 504 is expected to equal false when code is higher than 504 is expected to equal false with 1xx codes is not #server_error? is not #client_error? is not #success? is #informational? is not #redirect? with 4xx codes is not #server_error? is not #informational? is not #redirect? is #client_error? is not #success? .new /build/ruby-http-YcNdQk/ruby-http-4.4.1/lib/http/response/status.rb:148: warning: instance variable @code not initialized fails if given value does not respond to #to_i accepts any object that responds to #to_i #range_not_satisfiable? when code is higher than 416 is expected to equal false when code is 416 is expected to equal true when code is lower than 416 is expected to equal false #proxy_authentication_required? when code is higher than 407 is expected to equal false when code is lower than 407 is expected to equal false when code is 407 is expected to equal true #too_many_requests? when code is higher than 429 is expected to equal false when code is 429 is expected to equal true when code is lower than 429 is expected to equal false #temporary_redirect? when code is higher than 307 is expected to equal false when code is lower than 307 is expected to equal false when code is 307 is expected to equal true #network_authentication_required? when code is 511 is expected to equal true when code is higher than 511 is expected to equal false when code is lower than 511 is expected to equal false #reason with well-known code: 413 is expected to be frozen is expected to eq "Payload Too Large" with well-known code: 401 is expected to eq "Unauthorized" is expected to be frozen with well-known code: 403 is expected to be frozen is expected to eq "Forbidden" with well-known code: 407 is expected to be frozen is expected to eq "Proxy Authentication Required" with well-known code: 202 is expected to eq "Accepted" is expected to be frozen with well-known code: 506 is expected to be frozen is expected to eq "Variant Also Negotiates" with well-known code: 421 is expected to be frozen is expected to eq "Misdirected Request" with well-known code: 511 is expected to eq "Network Authentication Required" is expected to be frozen with well-known code: 412 is expected to be frozen is expected to eq "Precondition Failed" with well-known code: 308 is expected to eq "Permanent Redirect" is expected to be frozen with well-known code: 414 is expected to be frozen is expected to eq "URI Too Long" with well-known code: 203 is expected to eq "Non-Authoritative Information" is expected to be frozen with well-known code: 510 is expected to eq "Not Extended" is expected to be frozen with well-known code: 422 is expected to be frozen is expected to eq "Unprocessable Entity" with well-known code: 301 is expected to be frozen is expected to eq "Moved Permanently" with well-known code: 205 is expected to be frozen is expected to eq "Reset Content" with well-known code: 201 is expected to eq "Created" is expected to be frozen with well-known code: 302 is expected to be frozen is expected to eq "Found" with well-known code: 504 is expected to be frozen is expected to eq "Gateway Timeout" with well-known code: 307 is expected to be frozen is expected to eq "Temporary Redirect" with well-known code: 101 is expected to be frozen is expected to eq "Switching Protocols" with well-known code: 405 is expected to be frozen is expected to eq "Method Not Allowed" with well-known code: 507 is expected to eq "Insufficient Storage" is expected to be frozen with well-known code: 451 is expected to be frozen is expected to eq "Unavailable For Legal Reasons" with unknown code is expected to be nil with well-known code: 300 is expected to be frozen is expected to eq "Multiple Choices" with well-known code: 410 is expected to be frozen is expected to eq "Gone" with well-known code: 404 is expected to eq "Not Found" is expected to be frozen with well-known code: 503 is expected to eq "Service Unavailable" is expected to be frozen with well-known code: 408 is expected to eq "Request Timeout" is expected to be frozen with well-known code: 207 is expected to eq "Multi-Status" is expected to be frozen with well-known code: 208 is expected to eq "Already Reported" is expected to be frozen with well-known code: 409 is expected to eq "Conflict" is expected to be frozen with well-known code: 100 is expected to eq "Continue" is expected to be frozen with well-known code: 303 is expected to be frozen is expected to eq "See Other" with well-known code: 424 is expected to eq "Failed Dependency" is expected to be frozen with well-known code: 505 is expected to be frozen is expected to eq "HTTP Version Not Supported" with well-known code: 416 is expected to eq "Range Not Satisfiable" is expected to be frozen with well-known code: 500 is expected to eq "Internal Server Error" is expected to be frozen with well-known code: 501 is expected to eq "Not Implemented" is expected to be frozen with well-known code: 206 is expected to eq "Partial Content" is expected to be frozen with well-known code: 226 is expected to eq "IM Used" is expected to be frozen with well-known code: 411 is expected to be frozen is expected to eq "Length Required" with well-known code: 423 is expected to be frozen is expected to eq "Locked" with well-known code: 400 is expected to eq "Bad Request" is expected to be frozen with well-known code: 204 is expected to eq "No Content" is expected to be frozen with well-known code: 508 is expected to eq "Loop Detected" is expected to be frozen with well-known code: 417 is expected to be frozen is expected to eq "Expectation Failed" with well-known code: 402 is expected to eq "Payment Required" is expected to be frozen with well-known code: 431 is expected to be frozen is expected to eq "Request Header Fields Too Large" with well-known code: 200 is expected to be frozen is expected to eq "OK" with well-known code: 415 is expected to be frozen is expected to eq "Unsupported Media Type" with well-known code: 429 is expected to eq "Too Many Requests" is expected to be frozen with well-known code: 502 is expected to eq "Bad Gateway" is expected to be frozen with well-known code: 304 is expected to be frozen is expected to eq "Not Modified" with well-known code: 102 is expected to eq "Processing" is expected to be frozen with well-known code: 406 is expected to eq "Not Acceptable" is expected to be frozen with well-known code: 428 is expected to be frozen is expected to eq "Precondition Required" with well-known code: 426 is expected to be frozen is expected to eq "Upgrade Required" with well-known code: 305 is expected to eq "Use Proxy" is expected to be frozen #processing? when code is 102 is expected to equal true when code is lower than 102 is expected to equal false when code is higher than 102 is expected to equal false #no_content? when code is 204 is expected to equal true when code is lower than 204 is expected to equal false when code is higher than 204 is expected to equal false #payload_too_large? when code is 413 is expected to equal true when code is higher than 413 is expected to equal false when code is lower than 413 is expected to equal false #already_reported? when code is lower than 208 is expected to equal false when code is higher than 208 is expected to equal false when code is 208 is expected to equal true #multi_status? when code is 207 is expected to equal true when code is lower than 207 is expected to equal false when code is higher than 207 is expected to equal false #not_extended? when code is 510 is expected to equal true when code is lower than 510 is expected to equal false when code is higher than 510 is expected to equal false #accepted? when code is lower than 202 is expected to equal false when code is 202 is expected to equal true when code is higher than 202 is expected to equal false #method_not_allowed? when code is higher than 405 is expected to equal false when code is 405 is expected to equal true when code is lower than 405 is expected to equal false #forbidden? when code is higher than 403 is expected to equal false when code is 403 is expected to equal true when code is lower than 403 is expected to equal false #switching_protocols? when code is lower than 101 is expected to equal false when code is 101 is expected to equal true when code is higher than 101 is expected to equal false #use_proxy? when code is higher than 305 is expected to equal false when code is lower than 305 is expected to equal false when code is 305 is expected to equal true #unprocessable_entity? when code is 422 is expected to equal true when code is higher than 422 is expected to equal false when code is lower than 422 is expected to equal false #found? when code is 302 is expected to equal true when code is lower than 302 is expected to equal false when code is higher than 302 is expected to equal false #service_unavailable? when code is lower than 503 is expected to equal false when code is higher than 503 is expected to equal false when code is 503 is expected to equal true #insufficient_storage? when code is 507 is expected to equal true when code is higher than 507 is expected to equal false when code is lower than 507 is expected to equal false #payment_required? when code is higher than 402 is expected to equal false when code is lower than 402 is expected to equal false when code is 402 is expected to equal true #multiple_choices? when code is lower than 300 is expected to equal false when code is 300 is expected to equal true when code is higher than 300 is expected to equal false #loop_detected? when code is lower than 508 is expected to equal false when code is 508 is expected to equal true when code is higher than 508 is expected to equal false with 3xx codes is not #client_error? is #redirect? is not #success? is not #server_error? is not #informational? #not_found? when code is higher than 404 is expected to equal false when code is lower than 404 is expected to equal false when code is 404 is expected to equal true #uri_too_long? when code is lower than 414 is expected to equal false when code is higher than 414 is expected to equal false when code is 414 is expected to equal true #continue? when code is 100 is expected to equal true when code is higher than 100 is expected to equal false when code is lower than 100 is expected to equal false #request_timeout? when code is higher than 408 is expected to equal false when code is lower than 408 is expected to equal false when code is 408 is expected to equal true HTTP::Options json defaults to nil may be specified with with_json data HTTP::Response::Parser whole response in one part parses body parses headers response in many parts parses headers parses body HTTP::Headers::Mixin #headers returns @headers instance variable #[]= proxies to headers#[] #[] proxies to headers#[] HTTP::Options body defaults to nil may be specified with with_body HTTP::Features::AutoInflate #wrap_response for gzip Content-Encoding header returns a HTTP::Response wrapping the inflated response body for x-gzip Content-Encoding header returns a HTTP::Response wrapping the inflated response body for unknown Content-Encoding header returns original request when response has uri preserves uri in wrapped response for deflate Content-Encoding header returns a HTTP::Response wrapping the inflated response body when there is no Content-Encoding header returns original request for identity Content-Encoding header returns original request HTTP::Connection #readpartial reads data in parts #read_headers! reads data in parts HTTP::Request::Writer #stream when server won't accept any more data aborts silently when body is nonempty writes it to the socket and sets Content-Length when writing to socket raises an exception raises a ConnectionError when multiple headers are set separates headers with carriage return and line feed when Content-Length header is set keeps the given value when Transfer-Encoding is chunked writes encoded content and omits Content-Length when body is empty doesn't write anything to the socket and sets Content-Length HTTP::Options features accepts plain symbols in array raises error for not supported features defaults to be empty accepts feature name with its options in array HTTP::Redirector #strict by default is expected to equal true #perform returns first non-redirect response concatenates multiple Location headers fails with StateError if there were no Location header fails with TooManyRedirectsError if max hops reached fails with EndlessRedirectError if endless loop detected following 307 redirect follows with original request's verb following 301 redirect with non-strict mode it follows with GET if original request was DELETE it follows with GET if original request was PUT it follows with original verb if it's safe it follows with GET if original request was POST with strict mode raises StateError if original request was DELETE raises StateError if original request was PUT raises StateError if original request was POST it follows with original verb if it's safe following 308 redirect follows with original request's verb following 302 redirect with non-strict mode it follows with original verb if it's safe it follows with GET if original request was DELETE it follows with GET if original request was PUT it follows with GET if original request was POST with strict mode raises StateError if original request was POST it follows with original verb if it's safe raises StateError if original request was PUT raises StateError if original request was DELETE following 303 redirect follows with GET if original request was GET follows with HEAD if original request was HEAD follows with GET if original request was neither GET nor HEAD following 300 redirect with strict mode raises StateError if original request was DELETE raises StateError if original request was PUT it follows with original verb if it's safe raises StateError if original request was POST with non-strict mode it follows with GET if original request was PUT it follows with original verb if it's safe it follows with GET if original request was DELETE it follows with GET if original request was POST #max_hops by default is expected to eq 5 HTTP::Options headers defaults to be empty accepts any object that respond to :to_hash may be specified with with_headers Pending: (Failures listed here are expected and do not affect your suite's status) 1) HTTP.persistent with host and block given returns last evaluation of last expression # Temporarily skipped with xit # ./spec/lib/http_spec.rb:265 2) HTTP.persistent with host and block given auto-closes connection # Temporarily skipped with xit # ./spec/lib/http_spec.rb:269 3) HTTP.persistent with host only given # Temporarily skipped with xit # ./spec/lib/http_spec.rb:261 4) HTTP.persistent with host only given # Temporarily skipped with xit # ./spec/lib/http_spec.rb:260 5) HTTP.via anonymous proxy ssl responds with the endpoint's body # Temporarily skipped with xcontext # ./spec/lib/http_spec.rb:99 6) HTTP.via anonymous proxy ssl ignores credentials # Temporarily skipped with xcontext # ./spec/lib/http_spec.rb:104 7) HTTP.via proxy with authentication ssl responds with the endpoint's body # Temporarily skipped with xcontext # ./spec/lib/http_spec.rb:135 8) HTTP.via proxy with authentication ssl responds with 407 when wrong credentials given # Temporarily skipped with xcontext # ./spec/lib/http_spec.rb:140 9) HTTP.via proxy with authentication ssl responds with 407 if no credentials given # Temporarily skipped with xcontext # ./spec/lib/http_spec.rb:145 10) HTTP::Client with a per operation timeout read of 0 times out # Temporarily skipped with xit # ./spec/support/http_handling_shared.rb:47 11) HTTP::Client following redirects with non-ASCII URLs works like a charm in real world # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:100 12) HTTP::Client following redirects with non-ASCII URLs theoretically works like a charm # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:91 13) HTTP::Client working with SSL just works # Temporarily skipped with xdescribe # ./spec/lib/http/client_spec.rb:304 14) HTTP::Client working with SSL fails with OpenSSL::SSL::SSLError if host mismatch # Temporarily skipped with xdescribe # ./spec/lib/http/client_spec.rb:309 15) HTTP::Client working with SSL with a per operation timeout works # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:29 16) HTTP::Client working with SSL with a per operation timeout read of 0 times out # Temporarily skipped with xit # ./spec/support/http_handling_shared.rb:47 17) HTTP::Client working with SSL with a per operation timeout read of 2.5 does not time out # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:55 18) HTTP::Client working with SSL with a per operation timeout connection of 1 does not time out # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:37 19) HTTP::Client working with SSL connection reuse when disabled opens new sockets # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:184 20) HTTP::Client working with SSL connection reuse when enabled re-uses the socket # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:117 21) HTTP::Client working with SSL connection reuse when enabled when trying to read a stale body errors # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:135 22) HTTP::Client working with SSL connection reuse when enabled without a host infers host from persistent config # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:112 23) HTTP::Client working with SSL connection reuse when enabled with a change in host errors # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:175 24) HTTP::Client working with SSL connection reuse when enabled on a mixed state re-opens the connection # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:123 25) HTTP::Client working with SSL connection reuse when enabled when reading a cached body succeeds # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:142 26) HTTP::Client working with SSL connection reuse when enabled with a socket issue transparently reopens # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:154 27) HTTP::Client working with SSL without timeouts works # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:7 28) HTTP::Client working with SSL with SSL options instead of a context just works # Temporarily skipped with xdescribe # ./spec/lib/http/client_spec.rb:319 29) HTTP::Client working with SSL with a global timeout errors if reading takes too long # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:83 30) HTTP::Client working with SSL with a global timeout errors if connecting takes too long # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:75 31) HTTP::Client working with SSL with a global timeout it resets state when reusing connections does not timeout # Temporarily skipped with xdescribe # ./spec/support/http_handling_shared.rb:93 32) HTTP::Client#request with non-ASCII URLs theoretically works like a charm # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:225 33) HTTP::Client#request with non-ASCII URLs works like a charm in real world # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:230 34) HTTP::Client#request with explicitly given `Host` header keeps `Host` header as is # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:241 Top 10 slowest examples (8.79 seconds, 87.3% of total time): HTTP::Client with a global timeout it resets state when reusing connections does not timeout 4.02 seconds ./spec/support/http_handling_shared.rb:93 HTTP::Client with a per operation timeout read of 2.5 does not time out 2.01 seconds ./spec/support/http_handling_shared.rb:55 HTTP::Client with a global timeout errors if reading takes too long 1.01 seconds ./spec/support/http_handling_shared.rb:83 HTTP::Client with a global timeout errors if connecting takes too long 1.01 seconds ./spec/support/http_handling_shared.rb:75 HTTP unifies socket errors into HTTP::ConnectionError 0.49535 seconds ./spec/lib/http_spec.rb:455 HTTP getting resources with a large request body with `.timeout({:read=>2, :write=>2, :connect=>2})` writes the whole body 0.0661 seconds ./spec/lib/http_spec.rb:64 HTTP getting resources with a large request body with `.timeout(6)` writes the whole body 0.05729 seconds ./spec/lib/http_spec.rb:64 HTTP.via proxy with authentication responds with 407 if no credentials given 0.05067 seconds ./spec/lib/http_spec.rb:129 HTTP.use with :normalize_uri normalizes URI 0.04031 seconds ./spec/lib/http_spec.rb:435 HTTP::Client connection reuse when enabled on a mixed state re-opens the connection 0.03976 seconds ./spec/support/http_handling_shared.rb:123 Top 10 slowest example groups: HTTP::Client 0.12976 seconds average (8.3 seconds / 64 examples) ./spec/lib/http/client_spec.rb:8 HTTP 0.01752 seconds average (1.1 seconds / 63 examples) ./spec/lib/http_spec.rb:9 HTTP::Features::AutoInflate 0.00497 seconds average (0.03476 seconds / 7 examples) ./spec/lib/http/features/auto_inflate_spec.rb:3 HTTP::Connection 0.00336 seconds average (0.00672 seconds / 2 examples) ./spec/lib/http/connection_spec.rb:3 HTTP::Redirector 0.00271 seconds average (0.09741 seconds / 36 examples) ./spec/lib/http/redirector_spec.rb:3 HTTP::Response 0.00246 seconds average (0.06138 seconds / 25 examples) ./spec/lib/http/response_spec.rb:3 HTTP::Features::Logging 0.00203 seconds average (0.00405 seconds / 2 examples) ./spec/lib/http/features/logging_spec.rb:5 HTTP::Request 0.00197 seconds average (0.08848 seconds / 45 examples) ./spec/lib/http/request_spec.rb:4 HTTP::Response::Body 0.00165 seconds average (0.01321 seconds / 8 examples) ./spec/lib/http/response/body_spec.rb:3 HTTP::Response::Parser 0.00101 seconds average (0.00403 seconds / 4 examples) ./spec/lib/http/response/parser_spec.rb:3 Finished in 10.07 seconds (files took 1.8 seconds to load) 811 examples, 0 failures, 34 pending Randomized with seed 60181 Coverage report generated for RSpec to /build/ruby-http-YcNdQk/ruby-http-4.4.1/coverage. 1268 / 1361 LOC (93.17%) covered. [Coveralls] Outside the CI environment, not sending data. ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/ruby-http-YcNdQk/ruby-http-4.4.1' dh_installchangelogs CHANGES.md make[1]: Leaving directory '/build/ruby-http-YcNdQk/ruby-http-4.4.1' dh_installinit -i -O--buildsystem=ruby dh_installsystemduser -i -O--buildsystem=ruby dh_perl -i -O--buildsystem=ruby dh_link -i -O--buildsystem=ruby dh_strip_nondeterminism -i -O--buildsystem=ruby dh_compress -X.rb -i -O--buildsystem=ruby dh_fixperms -i -O--buildsystem=ruby dh_missing -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-http: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-http: substitution variable ${ruby:Depends} unused, but is defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-http' in '../ruby-http_4.4.1-4_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-http_4.4.1-4_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-http-YcNdQk /tmp/ruby-http-4.4.1-43fwvcci2 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.zrO6t18f3e... I: success in 308.8215 seconds md5: ruby-http_4.4.1-4_all.deb: OK sha1: ruby-http_4.4.1-4_all.deb: OK sha256: ruby-http_4.4.1-4_all.deb: OK Checksums: OK