summaryrefslogtreecommitdiff
path: root/f8/8705853e0e51925000738af66ac6669f456388
blob: 19e37beab26c9e46a6fe0dd5a510908aefd8c093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
	helo=mx.sourceforge.net)
	by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <gavinandresen@gmail.com>) id 1VEUkO-00085P-KJ
	for bitcoin-development@lists.sourceforge.net;
	Wed, 28 Aug 2013 01:40:36 +0000
Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.212.177 as permitted sender)
	client-ip=209.85.212.177; envelope-from=gavinandresen@gmail.com;
	helo=mail-wi0-f177.google.com; 
Received: from mail-wi0-f177.google.com ([209.85.212.177])
	by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1VEUkN-0007kY-JD
	for bitcoin-development@lists.sourceforge.net;
	Wed, 28 Aug 2013 01:40:36 +0000
Received: by mail-wi0-f177.google.com with SMTP id hi5so651894wib.16
	for <bitcoin-development@lists.sourceforge.net>;
	Tue, 27 Aug 2013 18:40:29 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.183.108 with SMTP id el12mr13580846wic.55.1377654028946; 
	Tue, 27 Aug 2013 18:40:28 -0700 (PDT)
Received: by 10.194.156.163 with HTTP; Tue, 27 Aug 2013 18:40:28 -0700 (PDT)
Date: Wed, 28 Aug 2013 11:40:28 +1000
Message-ID: <CABsx9T1WD5de-pWH2AsdWYi2RnZ-+upbeFEn4es8H3M3wo_bzw@mail.gmail.com>
From: Gavin Andresen <gavinandresen@gmail.com>
To: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Content-Type: multipart/alternative; boundary=001a11c353ac04d21a04e4f8139c
X-Spam-Score: -0.6 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
	sender-domain
	0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
	(gavinandresen[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
	author's domain
	0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
	not necessarily valid
	-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1VEUkN-0007kY-JD
Subject: [Bitcoin-development] BIP 72 updated: require Accept HTTP header
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Wed, 28 Aug 2013 01:40:36 -0000

--001a11c353ac04d21a04e4f8139c
Content-Type: text/plain; charset=ISO-8859-1

I just added a requirement to the BIP 72 (bitcoin: URI payment protocol)
spec:

Wallets must include an Accept HTTP header in HTTP requests:

Accept: application/bitcoin-paymentrequest

... and submitted a pull request so the reference implementation follows
the spec.

Thanks to Stephen/Jeff at BitPay for the suggestion. I'll make a similar
change to BIP 70 and require wallets set Accept:
application/bitcoin-paymentrequestack when sending the Payment and
expecting a PaymentACK message in return.

-- 
--
Gavin Andresen

--001a11c353ac04d21a04e4f8139c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I just added a requirement to the BIP 72 (bitcoin: URI pay=
ment protocol) spec:<div><br></div><div><p style=3D"margin:0.4em 0px 0.5em;=
line-height:19.1875px;color:rgb(0,0,0);font-family:sans-serif;font-size:13p=
x">
Wallets must include an Accept HTTP header in HTTP requests:</p><pre style=
=3D"font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,=
171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.3em;f=
ont-size:13px">
Accept: application/bitcoin-paymentrequest</pre><div>... and submitted a pu=
ll request so the reference implementation follows the spec.</div><div><br>=
</div><div>Thanks to Stephen/Jeff at BitPay for the suggestion. I&#39;ll ma=
ke a similar change to BIP 70 and require wallets set Accept: application/b=
itcoin-paymentrequestack when sending the Payment and expecting a PaymentAC=
K message in return.</div>
<div><br></div>-- <br>--<br>Gavin Andresen<br>
</div></div>

--001a11c353ac04d21a04e4f8139c--