Closed nsteinmetz closed 6 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
main.go | 0 | 1 | 0.0% | ||
<!-- | Total: | 0 | 1 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 54: | 0.0% |
Covered Lines: | 110 |
Relevant Lines: | 224 |
Here you are - same output for the 2 cases.
Thanks!!
Happy to contribute :)
@maxcnunes do you plan to make a 2.4.1 release ? To know if I use master or wait for the 2.4.1 release
Headers seems to be on the format
<key>: <value>
Fix will split on the pattern
:
and then would remove any space on the left side of the 2nd element.Ex:
Split will generate :
Authrorization
&Basic MyEncodedCredentials
Trimleft will do nothing more in this caseSplit will generate :
Authrorization
&Basic MyEncodedCredentials
Trimleft will generate:Basic MyEncodedCredentials