Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

feat: upgrade HTTP calls upon canister's request#6

Merged
Daniel-Bloom-dfinity merged 2 commits intodfinity:mainfrom
paulyoung:paulyoung/http-request
Jan 10, 2022
Merged

feat: upgrade HTTP calls upon canister's request#6
Daniel-Bloom-dfinity merged 2 commits intodfinity:mainfrom
paulyoung:paulyoung/http-request

Conversation

@paulyoung
Copy link
Copy Markdown
Contributor

@paulyoung paulyoung commented Dec 22, 2021

This applies changes from dfinity/agent-rs#195 that are specific to icx-proxy.

It necessarily depends on a newer version of agent-rs ic-agent and ic-utils. This will most likely be something like 10.X.0 but temporarily uses a Git URL for now.

This applies changes from dfinity/agent-rs#195 that are
specific to icx-proxy.

It necessarily depends on a newer version of agent-rs and ic-utils. This will
most likely be something like 10.X.0 but temporarily uses a Git URL for now.
@paulyoung
Copy link
Copy Markdown
Contributor Author

This is the upstream PR: dfinity/agent-rs#291

Comment thread Cargo.toml Outdated
@paulyoung
Copy link
Copy Markdown
Contributor Author

Noting that in dfinity/agent-rs#195 (comment) @jplevyak said:

When we submit this, let's create an issue to upgrade the service worker to allow upgrades on the http asset path.

I think @nomeata also had some suggestions about updating an internal spec document.

@paulyoung
Copy link
Copy Markdown
Contributor Author

@ericswanson-dfinity I saw that you released version 0.11.0 of agent-rs and ic-utils with dfinity/agent-rs#296 but thought perhaps this PR should stick with 0.10.2 for now so that there’s a version without the breaking changes.

@ghost
Copy link
Copy Markdown

ghost commented Jan 10, 2022

@ericswanson-dfinity I saw that you released version 0.11.0 of agent-rs and ic-utils with dfinity/agent-rs#296 but thought perhaps this PR should stick with 0.10.2 for now so that there’s a version without the breaking changes.

Just wanted to mention that I am not a maintainer on this project. Merge timing will be up to @Daniel-Bloom-dfinity

@Daniel-Bloom-dfinity Daniel-Bloom-dfinity merged commit f49a9f6 into dfinity:main Jan 10, 2022
@paulyoung paulyoung deleted the paulyoung/http-request branch January 11, 2022 02:22
@paulyoung
Copy link
Copy Markdown
Contributor Author

For my own reference in future, updating the service worker looks something like this: dfinity/ic#5

@paulyoung
Copy link
Copy Markdown
Contributor Author

…and changes to HttpRequest/HttpResponse should be tested: https://github.com/dfinity/agent-rs/pull/305/files

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants