New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gateway] Send content-length header for transformable stream policy #884

Closed
AnselmeDewavrin opened this Issue Nov 15, 2017 · 0 comments

Comments

Projects
None yet
3 participants
@AnselmeDewavrin

AnselmeDewavrin commented Nov 15, 2017

When using a rest2soap policy the soap request is transmitted to the backend with chunking, which is not accepted by some soap servers. Is there a way to disable this ?

Expected Behavior

A soap request transmitted with a Content-Length header

Current Behavior

A soap request transmitted with a content-encoding:chunked header.
I doubt this helps but the soap server says "error in soap envelope content length must me specified (10913)"

Possible Solution

-by forcing gravitee to use http/1.0 ?
-by using transform-header policy ? Tried but no success

Steps to Reproduce (for bugs)

  1. activate rest2soap policy
  2. tcpdump -A -s0 -i any host
  3. call the api

Context

Your Environment

  • Version used: 1.10.4
  • Browser Name and version: NA
  • Operating System and version: centos7

Thanks !

@brasseld brasseld changed the title from how to disable chunking when proxying request to [gateway] How to disable chunking when proxying request Nov 16, 2017

@brasseld brasseld added the type: bug label Nov 16, 2017

@brasseld brasseld changed the title from [gateway] How to disable chunking when proxying request to [gateway] Send content-length for transformable stream policy Nov 16, 2017

@brasseld brasseld changed the title from [gateway] Send content-length for transformable stream policy to [gateway] Send content-length header for transformable stream policy Nov 16, 2017

@brasseld brasseld added this to the 1.11.1 milestone Nov 16, 2017

brasseld added a commit to gravitee-io/gravitee-policy-rest-to-soap that referenced this issue Nov 16, 2017

brasseld added a commit to gravitee-io/gravitee-gateway that referenced this issue Nov 16, 2017

@brasseld brasseld self-assigned this Nov 16, 2017

aelamrani added a commit to gravitee-io/gravitee-policy-rest-to-soap that referenced this issue Nov 16, 2017

aelamrani added a commit to gravitee-io/gravitee-gateway that referenced this issue Nov 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment