From 32052786e5a79322a58e42b763f407e254616f99 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 26 Aug 2016 15:22:42 +0200 Subject: [PATCH 1/2] include pay url in example --- articles/ui/ui.tex | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/articles/ui/ui.tex b/articles/ui/ui.tex index d1f95523b..2f36f7d2a 100644 --- a/articles/ui/ui.tex +++ b/articles/ui/ui.tex @@ -902,7 +902,8 @@ a confirmation for products that are delivered by other means. HTTP/1.1 402 Payment Required Content-Type: text/html; charset=UTF-8 X-Taler-Contract-Hash: 2BAH2AT4GSG5JRM2W4YWTSYGY66EK4X8CX2V69D5VF7XV703AJMG -X-Taler-Offer-Url: https://shop/generate-contract/42 +X-Taler-Offer-Url: https://shop/article/42 +X-Taler-Pay-Url: https://shop/pay ... @@ -914,11 +915,11 @@ X-Taler-Offer-Url: https://shop/generate-contract/42 ... \end{lstlisting} -\caption{Sample HTTP response when the user agent navigates to a - fulfillment URL without - the session state that indicates they have paid for the resource. - Note that unlike in Listing~\ref{listing:http-contract}, the response references - a contract that typically is already known to the wallet via its hash code.} +\caption{Sample HTTP response when the user agent navigates to a fulfillment + URL without the session state that indicates they have paid for the resource. + Note that unlike in Listing~\ref{listing:http-contract}, the response + references a contract that typically is already known to the wallet via its + hash code.} \label{listing:http-execute} \end{figure*} From 654758eb2034fbbcb2530541c6af1ca8d250aed0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 26 Aug 2016 15:24:28 +0200 Subject: [PATCH 2/2] match offer URL with contract example --- articles/ui/ui.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/ui/ui.tex b/articles/ui/ui.tex index 2f36f7d2a..304914b3a 100644 --- a/articles/ui/ui.tex +++ b/articles/ui/ui.tex @@ -902,7 +902,7 @@ a confirmation for products that are delivered by other means. HTTP/1.1 402 Payment Required Content-Type: text/html; charset=UTF-8 X-Taler-Contract-Hash: 2BAH2AT4GSG5JRM2W4YWTSYGY66EK4X8CX2V69D5VF7XV703AJMG -X-Taler-Offer-Url: https://shop/article/42 +X-Taler-Offer-Url: https://shop/essay/The_GNU_Project X-Taler-Pay-Url: https://shop/pay ...