[
https://issues.apache.org/jira/browse/THRIFT-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659979#comment-13659979
]
Henrique Mendonca commented on THRIFT-1893:
-------------------------------------------
currently we have unittests "lib/nodejs/test" and integration tests
"test/nodejs"
you can run "make -C test/nodejs check" to test both of them or "sh
test/test.sh" to run the cross language tests (important for us here are
js-java and node-cpp, so we could eventually add a js-node)
Please check the latest version from the repository.
Later on we should be also able to add parameters to test/nodejs/server and
client to switch between the protocols, transports, etc, but that's another
thing.
Thanks for making Thrift better! ;)
> HTTP server/client for node js
> ------------------------------
>
> Key: THRIFT-1893
> URL: https://issues.apache.org/jira/browse/THRIFT-1893
> Project: Thrift
> Issue Type: New Feature
> Components: Node.js - Library
> Affects Versions: 0.9
> Reporter: Phillip Campbell
> Priority: Minor
> Labels: node
> Fix For: 1.0
>
> Attachments: thrift-1893-node-http.patch
>
>
> I have written a http server for node js, and am in progress on a http client
> for node js. I will contribute a patch file when I am done, however I am
> having a few problems figuring out how things need to be implemented. I am
> trying to follow the ruby implementation as an example, but am unsure how to
> make sure I implement things correct. I assume the link in the README under
> requirements was supposed to explain these things, but currently
> http://wiki.apache.org/thrift/ThriftRequirements leads to gibberish.
> Questions I have are:
> Do I need to implement a JSON protocol?
> On an http request, do I need to ensure the request is a POST? Check for
> headers? What is required?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira