How does WPT handle custom headers or custom footers

How are custom headers or custom footers handled by WPT? Can you run separate performance tests on the custom header/footer or are they just considered another HTTP request within the stack?

What do you mean by custom headers and footers? I assume it’s going to depend on how the site has implemented it.