(part)
| 35 | // for spaces. `decodeURIComponent` keeps `+` as is, which would then be sent back |
| 36 | // as `%2B`, so turn it into a space first. A literal plus always arrives as `%2B`. |
| 37 | function decodeQueryPart(part) { |
| 38 | return decodeURIComponent(part.replace(/\+/g, ' ')); |
| 39 | } |
| 40 | |
| 41 | function decodeParams(paramsString) { |
| 42 | return List(paramsString.split('&')) |