Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to skip decode #1055

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Add support to skip decode #1055

merged 1 commit into from
Mar 29, 2023

Conversation

Mzack9999
Copy link
Member

@Mzack9999 Mzack9999 commented Mar 21, 2023

Closes #971

Implemented with new -no-decode CLI flag:

$ echo 'https://zc-console.taobao.com/favicon.ico' | go run . -silent -json -irrb | jq .body -j | base64 -d | wc
       9      73    2246
$ echo 'https://zc-console.taobao.com/favicon.ico' | go run . -silent -json -irrb -no-decode | jq .body -j | base64 -d | wc
       9      63    1863

@Mzack9999 Mzack9999 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Mar 21, 2023
@Mzack9999 Mzack9999 self-assigned this Mar 21, 2023
@Mzack9999 Mzack9999 linked an issue Mar 21, 2023 that may be closed by this pull request
Copy link
Contributor

@ShubhamRasal ShubhamRasal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

-irrb Sometimes returns corrupted base64 body
3 participants