Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a225bdd6ad11a53e

Jump to content

Head–body pattern

From Wikipedia, the free encyclopedia
(Redirected from Head-Body Pattern)

The head–body pattern is a common XML design pattern, used for example in the SOAP protocol. This pattern is useful when a message, or parcel of data, requires considerable metadata. While mixing the meta-data with the data could be done it makes the whole confusing. In this pattern the meta-data or meta-information are structured as the header, sometimes known as the envelope. The ordinary data or information are structured as the body, sometimes known as the payload. XML is employed for both head and body (see also XML Protocol).[1][2]

The pattern can be illustrated as:

<head>
    <!--metadata-->
</head>
<body>
    <!--main content-->
</body>

References

[edit]
  1. "XML Design Patterns - Head-Body". www.xmlpatterns.com. Retrieved 2024-02-10.
  2. Pearce (2007-06-07). "1. The eXstensible Markup Language (XML)". www.cs.sjsu.edu. Retrieved 2024-02-10. We can use the Head-Body pattern to separate data from metadata...