include pay url in example

This commit is contained in:
Florian Dold 2016-08-26 15:22:42 +02:00
parent 1a6f39f407
commit 32052786e5

View File

@ -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
...
<!DOCTYPE html>
@ -914,11 +915,11 @@ X-Taler-Offer-Url: https://shop/generate-contract/42
...
</html>
\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*}