[ https://issues.apache.org/jira/browse/THRIFT-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968131#comment-13968131 ]
vijay chav commented on THRIFT-1893: ------------------------------------ Hi Henrique/Phillip, In my corporate project, I am at a situation where a python thrift server is available and it serves a .js client. I have to create a node client that makes use of the python server too. But the python server is a HttpServer, designed so as to server the http js client. I haven't been able to make a create a httpClient in node to communicate with the Http python server. I wanted to ask whether this patch provides support to create a httpClient or had it progressed to create only a HttpServer in node till now? If it does, can you provide me a short example on how to exploit it? I have been battling since a week to make it work. Your help will be very significant. Thanks, Vijay Chav > HTTP/JSON 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 > Assignee: Henrique Mendonça > Priority: Minor > Labels: json, node, nodejs > Fix For: 0.9.2 > > 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 was sent by Atlassian JIRA (v6.2#6252)