Consensys / armlet

a MythX API client wrapper
MIT License
17 stars 7 forks source link

add urlJoin function #53

Closed daniyarchambylov closed 5 years ago

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 250


Changes Missing Coverage Covered Lines Changed/Added Lines %
index.js 6 9 66.67%
<!-- Total: 15 18 83.33% -->
Files with Coverage Reduction New Missed Lines %
lib/refresh.js 2 90.32%
lib/login.js 2 75.61%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 249: -1.1%
Covered Lines: 227
Relevant Lines: 270

💛 - Coveralls
rocky commented 5 years ago

SInce we are now doing URL canonicalization as a result of feedback of people making mistakes in URLs I would like you all to consider #50 along with this which I have personally encountered.

50 might not be the the most general as it converts http to https which happens to be relevant in our particular setup. More general would be to get the redirect from the HTTP response.

@daniyarchambylov @fgimenez what do you think? @daniyarchambylov would you be willing to shepard this through? If so, later I will update the JIRA ticket to include this.