mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-19 12:08:05 +00:00
Added reference to RFC 2616 to BIP0072.
This commit is contained in:
parent
432b98240f
commit
d3d1f242fd
@ -38,7 +38,9 @@ described in BIP 70.
|
|||||||
|
|
||||||
Bitcoin wallets must support fetching PaymentRequests via http and
|
Bitcoin wallets must support fetching PaymentRequests via http and
|
||||||
https protocols; they may support other protocols. Wallets must
|
https protocols; they may support other protocols. Wallets must
|
||||||
include an Accept HTTP header in HTTP(s) requests:
|
include an "Accept" HTTP header in HTTP(s) requests (as defined
|
||||||
|
in RFC 2616):
|
||||||
|
|
||||||
<pre>Accept: application/bitcoin-paymentrequest</pre>
|
<pre>Accept: application/bitcoin-paymentrequest</pre>
|
||||||
|
|
||||||
If a PaymentRequest cannot be obtained (perhaps the server is
|
If a PaymentRequest cannot be obtained (perhaps the server is
|
||||||
@ -59,3 +61,7 @@ Non-backwards-compatible equivalent:
|
|||||||
<pre>
|
<pre>
|
||||||
bitcoin:?r=https://merchant.com/pay.php?h%3D2a8628fc2fbe
|
bitcoin:?r=https://merchant.com/pay.php?h%3D2a8628fc2fbe
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
==References==
|
||||||
|
|
||||||
|
[[http://www.w3.org/Protocols/rfc2616/rfc2616.html|RFC 2616]] : Hypertext Transfer Protocol -- HTTP/1.1
|
Loading…
x
Reference in New Issue
Block a user