Cosmetic
Fixing printing of paths
Fixing unittest, but with limitations such as "only supports url-encoded post-data" as explained in #3507