[
https://issues.apache.org/jira/browse/OLINGO-942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bolz closed OLINGO-942.
-------------------------------
> Improve error message for batch handling
> ----------------------------------------
>
> Key: OLINGO-942
> URL: https://issues.apache.org/jira/browse/OLINGO-942
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 2.0.6
> Reporter: Michael Bolz
> Assignee: Michael Bolz
> Priority: Minor
> Fix For: V2 2.0.7
>
>
> Improve error message for cases like:
> Header : multipart/mixed; boundary=batch_01"
> {code}
> --batch_01
> Content-Type: application/http
> Content-Transfer-Encoding: binary
>
> GET SomeData HTTP/1.1
>
>
> --batch_01
> Content-Type: application/http
> Content-Transfer-Encoding: binary
>
> GET SomeData HTTP/1.1
>
>
> --batch_02
> Content-Type: application/http
> Content-Transfer-Encoding: binary
>
> GET SomeData HTTP/1.1
>
>
> --batch_01--
> {code}
> which actual results in
> {quote}
> "<?xml version='1.0' encoding='UTF-8'?>
> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
> <code>BAD_REQUEST</code>
> <message xml:lang="en">Invalid request line 'GET' at line '12'.</message>
> </error>"
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)