Behavior for overlapping paths in custom headers?

Does Netlify allow overlapping paths when defining custom headers in _headers or netlify.toml? If so, how are headers generated when a URL matches multiple paths?

I don’t think we’d merge the headers. We would either apply the most-specific ones, or the fallback ones.

Noted! Thank you @hrishikesh for the clarification!