Skip to content
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

httpClient module impl. in Node is different than the httpClient module in Nashorn #5

Open
cxbrooks opened this issue Aug 31, 2017 · 1 comment

Comments

@cxbrooks
Copy link
Member

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#5
From: @cxbrooks
Reported version: unspecified
CC: accessors-devel@terraswarm.org

@cxbrooks
Copy link
Member Author

Edward wrote:

I just noticed that the httpClient module implementation in the Node
host does not have quite the same API as the httpClient module in the
Nashorn host. The latter is documented here:

https://www.icyphy.org/accessors/wiki/Version0/HttpClient

I think the above wiki page needs to be the master definition of the
interface.

I don't know how else to define the interface for a module, nor do I
know how to enforce that two hosts implement the same interface. I think
the policy we should follow is that each first writing of a module
should document the API in the wiki, and then any port to other hosts
needs to follow the same API, or change it in both the wiki and the
first implementation..

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

No branches or pull requests

1 participant