You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2014/11/06 17:27:35 UTC

[jira] [Closed] (OLINGO-453) BatchWriter invalid serialisation of get requests

     [ https://issues.apache.org/jira/browse/OLINGO-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Amend closed OLINGO-453.
----------------------------------

Release Build

> BatchWriter invalid serialisation of get requests
> -------------------------------------------------
>
>                 Key: OLINGO-453
>                 URL: https://issues.apache.org/jira/browse/OLINGO-453
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.0
>            Reporter: Christian Holzer
>            Assignee: Christian Amend
>            Priority: Minor
>              Labels: batch, writer
>             Fix For: V2 2.0.1
>
>         Attachments: batchWriterBugfix.diff
>
>
> While refactoring the batch parser I mentioned a bug in the BatchRequestWriter implementation.
> In test case testBatchWithGetAndPost the following request is being created
> --batch_123
> Content-Type: application/http
> Content-Transfer-Encoding: binary
> Content-Id: 000
>  
> GET Employees HTTP/1.1
> Accept: application/json  //<- Missing 2xCRLF
>  --batch_123
> // next body part
> // .....
> Due to the OData specification the CRLF before a boundary belongs logically to the boundary itself. In addition a mandatory CRLF after the header block must be present.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)