From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id 2KOZHITeOV+ODwAAsNZ9tg (envelope-from ) for ; Mon, 17 Aug 2020 01:33:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ULlCGITeOV+UCgAAbx9fmQ (envelope-from ) for ; Mon, 17 Aug 2020 01:33:56 +0000 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4AF299403C5 for ; Mon, 17 Aug 2020 01:33:55 +0000 (UTC) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 6BD427E767; Sun, 16 Aug 2020 21:33:52 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=sasl; bh=IrHemxXsBRA/vgWTQUowsInd8n0=; b=V7fRkOW+ENul8W828D4z oHfIVfz2VHZidt1n7Rvz4GTQi+IhDDPR9wMwdYU/rlaWpCrDodAl7GzV/AEzRtym zfgr50Hs4dSFhOh0DYEXDP6Fad0kfZIDKDGieSx2xUF+5pPEUkXRwgne75yUHita C0UDQZ3UDb0Oe9AAcAqJG18= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 6503E7E766; Sun, 16 Aug 2020 21:33:52 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:date:message-id:mime-version:content-transfer-encoding; s=mesmtp; bh=LowEC1YIFqOgtJva99xSE9C+VIwRSYdDAMAGM4pLbzU=; b=UfF3tbj/C7Ug6p3f9TD2BBkM/+CTeL8gxpWLQeGyQpUrAI3VwMYYvNm2EmdiDMbGiE75uaayoEqGwKmfRBRFA1S3hiT51H23Ery0O2ilvtNBG2r6/ecBm6pzqwGnxWpdnrzJLcFwRy15EIMyk0qIn7Grg+VMIwmYtrliJduqDXU= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id DB7AB7E765; Sun, 16 Aug 2020 21:33:51 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: piem@inbox.kyleam.com Subject: [PATCH 0/5] b4: Try to download thread from piem-inboxes URL Date: Sun, 16 Aug 2020 21:33:38 -0400 Message-Id: <20200817013343.15615-1-kyle@kyleam.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Pobox-Relay-ID: B4C32F12-E029-11EA-8529-2F5D23BA3BAF-24757444!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=V7fRkOW+; dkim=fail (rsa verify failed) header.d=kyleam.com header.s=mesmtp header.b=UfF3tbj/; dmarc=none; spf=pass (aspmx1.migadu.com: domain of kyle@kyleam.com designates 64.147.108.71 as permitted sender) smtp.mailfrom=kyle@kyleam.com X-Spam-Score: 2.50 X-TUID: Fbd/46vb2Mlh If a thread can be obtained from the URL returned by piem-inbox-url, get it from there so that callers don't need to set b4.midmask in their git configuration. [1/5] Use url-http-end-of-headers move to payload [2/5] Move "has gunzip?" check to helper [3/5] Extract logic from inject-thread-callback [4/5] b4: Use a clearer variable name [5/5] b4: Try to download thread from piem-inboxes URL piem-b4.el | 25 ++++++++++++++++++------- piem.el | 48 +++++++++++++++++++++++++++++++++++++----------- 2 files changed, 55 insertions(+), 18 deletions(-) base-commit: ff3b7724a75427c8d73a9b80f9ee5057250479cd -- 2.28.0