Follow up fix to close streams at the end.
To be really correct, the crumb API call should be using the encoding specified in the HTTP response header, but doing so involves various header parsing, which is cumbersome. Since we know Jenkins always serve the API call in UTF-8 encoding, here I'm baking that assumption in.
Loading
Please register or sign in to comment