Closed unoexperto closed 7 years ago
And looks like marshaller set correct Content-Type but it gets overwritten at the end in
return protocolMarshaller.finishMarshalling();
A fix to the content-type bug was released in 1.11.97, the problem should be resolved by upgrading to the latest version.
Yep, it helped. Thanks!
Gentelmen, this is quite urgent issue. I hope you respond soon.
I just switched from 1.10.52 to 1.11.96 (no code changes in my code) and all requests to AWS API fail now.
After some debugging I identified that empty (but not missing)
Content-Type
http header is sent to API server which causes server to returnInternal Server Error
.What should I do ?
Here is snippet of my code
I'm still debugging it but it looks like problem lies in class
UploadDocumentsRequestProtocolMarshaller
. Variable initialized in linehas
protocolMarshaller.delegate.contentType
with empty String.Here is how client is initalized
in case you need to see my dependencies here they are
Thoughts ?