@node Inlining proposals in HTTP headers @section Inlining proposals in HTTP headers @cindex optimization @cindex contract In the example in @ref{Prompting for payment}, we told the wallet the URL from where it should fetch the proposal. Instead of specifying the proposal via an URL, it is also possible to inline short proposals directly. That may be accomplished by the frontend including the @code{X-Taler-Proposal} HTTP header, whenever the requested page is meant to trigger a payment. The example shown below may be an alternative version of @code{/donate.php}, which implements inline contracts. @smallexample // ../inline.php @verbatiminclude ../inline.php @end smallexample The wallet will then look for the @code{X-Taler-Proposal} header, and fetch the inlined contract if this header is found. Please note that this feature is not yet implemented in the wallet.