Concept Flow - Relative vs absolute URL resolution
Start with base URL
Receive input URL
Is input URL absolute?
Yes→Use input URL as is
No
Combine base URL with relative input
Normalize combined URL
Return resolved absolute URL
This flow shows how Node.js resolves a URL: it checks if the input is absolute, if not, it combines it with a base URL and normalizes the result.