digitalbazaar / http-signature-zcap-invoke

A library for invoking Authorization Capabilities via HTTP signatures
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Check browser specific code. #23

Open davidlehn opened 2 years ago

davidlehn commented 2 years ago

lib/index.js has some browser specific behavior related to a host param. This code makes no difference in the tests. Either the code can be removed or tests should ensure it's working as expected.

dlongley commented 1 year ago

This is the code referenced:

https://github.com/digitalbazaar/http-signature-zcap-invoke/blob/v6.0.0/lib/index.js#L147-L150