[ 
https://issues.apache.org/jira/browse/OLINGO-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16044005#comment-16044005
 ] 

Ramya commented on OLINGO-1136:
-------------------------------

Fix is avilable with the commit : 
https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=f829d06dbe5adfe7e980862b6b9c1a5b817f512f

> Making Batch odata request headers available for every batch request
> --------------------------------------------------------------------
>
>                 Key: OLINGO-1136
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1136
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8
>            Reporter: Ramya
>            Priority: Minor
>
> Currently the way we can get batch request headers would be as below
> 1st batch request: 
> getContext().getBatchParentContext().getRequestHeaders().get(“<header>”)
> 2nd batch request: 
> getContext().getBatchParentContext().getBatchParentContext().getRequestHeaders().get(“<header>”)
> 3rd batch request: 
> getContext().getBatchParentContext().getBatchParentContext().getBatchParentContext().getRequestHeaders().get(“<header>”)
> And so on for subsequent request. The problem with this is the number of 
> batch requests is not fixed and hence we will not know how many times to call 
> getBatchParentContext().



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to