Skip to content

Add Content-Length header to responses #146

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

Closed
wants to merge 1 commit into from

Conversation

jhurliman
Copy link

This makes server responses more efficient by disabling chunked transfer encoding, but more importantly the Content-Length header is required for all requests and responses by the XML-RPC spec (see http://xmlrpc.scripting.com/spec.html).

This makes server responses more efficient by disabling chunked transfer encoding, but more importantly the Content-Length header is required for all requests and responses by the XML-RPC spec (see http://xmlrpc.scripting.com/spec.html).
@jhurliman
Copy link
Author

This change makes node-xmlrpc compatible with XmlRpc++, the library used by C++ ROS clients (http://wiki.ros.org/xmlrpcpp).

@jhurliman
Copy link
Author

Ack, I should have checked the open PRs first. #138 includes this exact change plus a unit test. Closing this PR in favor of the previous one.

Let me know if you need any help reviewing and merging PRs; it looks like this project is not actively maintained but it is still the most popular node.js xmlrpc lib.

@jhurliman jhurliman closed this Jan 21, 2018
@jhurliman jhurliman deleted the patch-1 branch January 21, 2018 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant