Fix bug: file name should be relative path to root
[Http] Make http transport configurable