Skip to content

Commit

Permalink
Fix mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinandresen committed Aug 28, 2013
1 parent 73bbb71 commit 74130ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion php/demo_website/f.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
exit(0);
}

header('Content-Type: application/x-bitcoinpaymentrequest');
header('Content-Type: application/bitcoin-paymentrequest');
$filename = "r".(string)time().".bitcoinpaymentrequest";
header('Content-Disposition: inline; filename='.$filename);
header('Content-Transfer-Encoding: binary');
Expand Down
2 changes: 1 addition & 1 deletion php/demo_website/payACK.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* For this demo, we just echo back the message.
*/

header('Content-Type: application/x-bitcoinpaymentACK');
header('Content-Type: application/bitcoin-paymentack');
$filename = "r".(string)time().".bitcoinpaymentACK";
header('Content-Disposition: inline; filename='.$filename);
header('Content-Transfer-Encoding: binary');
Expand Down
2 changes: 1 addition & 1 deletion php/paymentrequest-create.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@

// A web application serving up a payment request would do something like this:

header('Content-Type: application/x-bitcoin-payment-request');
header('Content-Type: application/bitcoin-paymentrequest');
$filename = "r".(string)time().".bitcoinpaymentrequest"; // ... or any unique filename
header('Content-Disposition: inline; filename='.$filename);
header('Content-Transfer-Encoding: binary');
Expand Down

0 comments on commit 74130ab

Please sign in to comment.