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 HTTP/1.1 402 Payment Required
Content-Type: text/html; charset=UTF-8 Content-Type: text/html; charset=UTF-8
X-Taler-Contract-Hash: 2BAH2AT4GSG5JRM2W4YWTSYGY66EK4X8CX2V69D5VF7XV703AJMG 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> <!DOCTYPE html>
@ -914,11 +915,11 @@ X-Taler-Offer-Url: https://shop/generate-contract/42
... ...
</html> </html>
\end{lstlisting} \end{lstlisting}
\caption{Sample HTTP response when the user agent navigates to a \caption{Sample HTTP response when the user agent navigates to a fulfillment
fulfillment URL without URL without the session state that indicates they have paid for the resource.
the session state that indicates they have paid for the resource. Note that unlike in Listing~\ref{listing:http-contract}, the response
Note that unlike in Listing~\ref{listing:http-contract}, the response references references a contract that typically is already known to the wallet via its
a contract that typically is already known to the wallet via its hash code.} hash code.}
\label{listing:http-execute} \label{listing:http-execute}
\end{figure*} \end{figure*}