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 8bit and binary decoding support #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xc0d
Copy link

@0xc0d 0xc0d commented Aug 18, 2021

According to "Content-Transfer-Encoding" section of RFC 1341:

The values "8bit", "7bit", and "binary" all imply that NO encoding has been performed...

CHANGE LOG:

  • Add 8bit support for content decoding.
  • Add binary support for content decoding.

PetriTurunen added a commit to PetriTurunen/parsemail that referenced this pull request Sep 18, 2021
@@ -354,7 +354,7 @@ func decodeContent(content io.Reader, encoding string) (io.Reader, error) {
}

return bytes.NewReader(b), nil
case "7bit":
case "7bit", "8bit", "binary:
Copy link

Choose a reason for hiding this comment

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

Typo with string literal

@k3a k3a mentioned this pull request Aug 26, 2023
@k3a k3a mentioned this pull request Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants