The file only contains the function that is borrowed from std http lib, so we use their copyright.
The main change is that it keeps the trailing slash. This helps auth feature to judge path permission accurately.