Difference between revisions of "BIP 0071"

From Bitcoin Wiki
Jump to: navigation, search
(Initial spec)
 
m (Removing redundant parameter.)
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
<pre>
 
<pre>
   BIP: ??
+
   BIP: 71
 
   Title: Payment Protocol MIME types
 
   Title: Payment Protocol MIME types
 
   Author: Gavin Andresen <gavinandresen@gmail.com>
 
   Author: Gavin Andresen <gavinandresen@gmail.com>
   Status: Draft
+
   Status: Final
 
   Type: Standards Track
 
   Type: Standards Track
 
   Created: 29-07-2013
 
   Created: 29-07-2013
 
</pre>
 
</pre>
  
==Abstract==
+
{{BipMoved|bip-0071.mediawiki}}
 
 
This BIP defines a MIME (RFC 2046) Media Type for Bitcoin payment
 
request messages.
 
 
 
==Motivation==
 
 
 
Wallet or server software that sends payment protocol messages over
 
email or http should follow Internet standards for properly
 
encapsulating the messages.
 
 
 
==Specification==
 
 
 
The Media Type (Content-Type in HTML/email headers) for bitcoin
 
protocol messages shall be:
 
 
 
{|
 
| Message || Type/Subtype
 
|-
 
| PaymentRequest || application/bitcoin-paymentrequest
 
|-
 
| Payment || application/bitcoin-payment
 
|-
 
| PaymentRequestACK || application/bitcoin-paymentrequestack
 
|}
 
 
 
Payment protocol messages are encoded in binary.
 
 
 
==Example==
 
 
 
A web server generating a PaymentRequest message to initiate the
 
payment protocol would precede the binary message data with the
 
following headers:
 
<pre>
 
Content-Type: application/bitcoin-paymentrequest
 
Content-Transfer-Encoding: binary
 
Content-Length: number_of_bytes
 
</pre>
 
  
 
[[Category:BIP]]
 
[[Category:BIP]]

Revision as of 13:47, 29 December 2015

This page describes a BIP (Bitcoin Improvement Proposal).
Please see BIP 2 for more information about BIPs and creating them. Please do not just create a wiki page.

  BIP: 71
  Title: Payment Protocol MIME types
  Author: Gavin Andresen <gavinandresen@gmail.com>
  Status: Final
  Type: Standards Track
  Created: 29-07-2013

Please do not modify this page. This is a mirror of the BIP from the source Git repository here.