Skip to content

Commit

Permalink
feat: custom HTTP headers (0.2.3 release) (#35)
Browse files Browse the repository at this point in the history
* bump `ic-certified-assets` version in `Cargo.toml` (`0.2.2` -> `0.2.3`)
* update candid spec with `headers` field
* bump rustc (`1.58.1` -> `1.60.0`)
  • Loading branch information
Marcin Nowak-Liebiediew authored Jul 7, 2022
1 parent 9ec9086 commit abd959d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "certified-assets"
version = "0.2.2"
version = "0.2.3"
authors = ["DFINITY Stiftung <[email protected]>"]
edition = "2018"

Expand All @@ -14,6 +14,6 @@ path = "src/lib.rs"
crate-type = ["cdylib"]

[dependencies]
ic-certified-assets = "0.2.2"
ic-certified-assets = "0.2.3"
ic-cdk = "0.5.0"
ic-cdk-macros = "0.5.0"
1 change: 1 addition & 0 deletions assets.did
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ type CreateAssetArguments = record {
key: Key;
content_type: text;
max_age: opt nat64;
headers: opt HeaderField;
};

// Add or change content for an asset, by content encoding
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.58.1"
channel = "1.60.0"
targets = ["wasm32-unknown-unknown"]
components = ["rustfmt", "clippy"]

0 comments on commit abd959d

Please sign in to comment.