agent-js
agent-js copied to clipboard
agent: requests to replica should have dfx version and ic-ref client info
via: https://dfinity.slack.com/archives/CGA566TPV/p1600410292001800
Why?
- It will help replica team track usage of different dfx versions across different nets
@nomeata @hansl fyi
Would a custom header for this need to be defined in ic-ref spec? Or is there already a place to 'extend' or sandbox new features?
@nomeata Are there any issues in other repos or tools that this can link to? That we we could coordinate making changes at similar times.
We could document this in ic-ref. But since it's meant to be informative, but not actually relevant for the behavior of the system, I'd say just go ahead and include such a header, without a full-fledged design process
HTTP header?
Dfx-Version: 1.2.3
WDYT?
Also, Accept-Ic-Spec: 1.2.3, 4.5.6, 7.8.9