Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

proxy is failing to forward the body included in the original request. - #281

Open
kghmanuel wants to merge 1 commit into
marklogic-community:developfrom
kghmanuel:failing_proxy_on_windows
Open

proxy is failing to forward the body included in the original request.#281
kghmanuel wants to merge 1 commit into
marklogic-community:developfrom
kghmanuel:failing_proxy_on_windows

Conversation

@kghmanuel

Copy link
Copy Markdown

No description provided.

Comment thread server.js
mlReq.write(JSON.stringify(req.body));
}

req.pipe(mlReq);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure the mlReq.write is needed? Line 100 has req.pipe(mlReq) which should essentially pass the body through unchanged. Then again, perhaps there is some json parsing going on that messes things up.

Keep in mind demo-cat has been running for a long while, and we have not observed this so far..

@grtjn

grtjn commented Apr 25, 2017

Copy link
Copy Markdown
Contributor

By the way, does this relate to an existing ticket?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants