Re: [Dev] Unable to remove Content-Type header for POST request with empty body

2017-06-14 Thread Rajjaz Mohammed
Hi All, Since this is a blocker to our dropbox connector download method. I'm removing " "by adding below lines of code to detach the element before sending the request[1] and method work as expected[2]. is this ok?

Re: [Dev] Unable to remove Content-Type header for POST request with empty body

2016-11-06 Thread Keerthika Mahendralingam
Since it is a blocker for us I have created a JIRA ticket[1] for this. [1]. https://wso2.org/jira/browse/ESBJAVA-4946 Thanks, On Fri, Nov 4, 2016 at 1:20 PM, Malaka Silva wrote: > It seems to me we may not be able to do this use case for post requests > with empty content. >

Re: [Dev] Unable to remove Content-Type header for POST request with empty body

2016-11-04 Thread Malaka Silva
It seems to me we may not be able to do this use case for post requests with empty content. @ESB Team - Let us know if there is a way to handle this? On Wed, Nov 2, 2016 at 5:36 PM, Keerthika Mahendralingam wrote: > Hi All, > > Dropbox backend service expecting a POST

[Dev] Unable to remove Content-Type header for POST request with empty body

2016-11-02 Thread Keerthika Mahendralingam
Hi All, Dropbox backend service expecting a POST request with empty body and without Content-Type header for download method[1]. I am unable to remove the Content-Type header from the request. Is there any way to do this? I tried with the following: It is working for GET methods but not for