You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Derek Carr (JIRA)" <ji...@apache.org> on 2008/05/14 22:38:55 UTC

[jira] Created: (ABDERA-159) Entry content is encoded as base64 even if mime type of text/* is provided

Entry content is encoded as base64 even if mime type of text/* is provided
--------------------------------------------------------------------------

                 Key: ABDERA-159
                 URL: https://issues.apache.org/jira/browse/ABDERA-159
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 0.4.0
         Environment: Windows, Java 1.5
            Reporter: Derek Carr


Calling the following:

entry.setContent(inputStream, "text/plain");

This results in the binary content being base64 encoded even though content of type 'text/*' does not need to be encoded.  Expectation is that content should not be encoded when it is a well-known content type (text, html, etc.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ABDERA-159) Entry content is encoded as base64 even if mime type of text/* is provided

Posted by "James M Snell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ABDERA-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597356#action_12597356 ] 

James M Snell commented on ABDERA-159:
--------------------------------------

the atom spec states that content using any text/* media type should not be base64 encoded, so this is definitely a bug.  I'm working on a fix

> Entry content is encoded as base64 even if mime type of text/* is provided
> --------------------------------------------------------------------------
>
>                 Key: ABDERA-159
>                 URL: https://issues.apache.org/jira/browse/ABDERA-159
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>         Environment: Windows, Java 1.5
>            Reporter: Derek Carr
>
> Calling the following:
> entry.setContent(inputStream, "text/plain");
> This results in the binary content being base64 encoded even though content of type 'text/*' does not need to be encoded.  Expectation is that content should not be encoded when it is a well-known content type (text, html, etc.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ABDERA-159) Entry content is encoded as base64 even if mime type of text/* is provided

Posted by "James M Snell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ABDERA-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James M Snell resolved ABDERA-159.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.5.0

checked in

> Entry content is encoded as base64 even if mime type of text/* is provided
> --------------------------------------------------------------------------
>
>                 Key: ABDERA-159
>                 URL: https://issues.apache.org/jira/browse/ABDERA-159
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>         Environment: Windows, Java 1.5
>            Reporter: Derek Carr
>             Fix For: 0.5.0
>
>
> Calling the following:
> entry.setContent(inputStream, "text/plain");
> This results in the binary content being base64 encoded even though content of type 'text/*' does not need to be encoded.  Expectation is that content should not be encoded when it is a well-known content type (text, html, etc.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.