Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/references/ic-interface-spec/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ sidebar:

## Changelog {#changelog}

### 0.63.0 (TBD) {$0_63_0}
Comment thread
mraszyk marked this conversation as resolved.
* Support for the HTTP method `PATCH` in canister `http_request` in non-replicated mode.

### 0.62.0 (2025-05-26) {$0_62_0}
* Inter-canister response callback messages might still be executed after the condition for `canister_on_low_wasm_memory` is triggered
and before the function `canister_on_low_wasm_memory` is executed.
Expand Down
4 changes: 2 additions & 2 deletions docs/references/ic-interface-spec/management-canister.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ In the replicated mode, the responses for all identical requests must match, too

For this reason, the calling canister can supply a transformation function, which the IC uses to let the canister sanitize the responses from such unique values. The transformation function is executed separately on the corresponding response received for a request (both in replicated and non-replicated modes). Only the transformed response will be available to the calling canister.

Currently, the `GET`, `HEAD`, and `POST` methods are supported for HTTP requests. Additionally, the `PUT` and `DELETE` methods are supported in non-replicated mode only. `PUT` and `DELETE` are restricted to non-replicated mode to avoid confusing race conditions that may occur with replicated execution.
Currently, the `GET`, `HEAD`, and `POST` methods are supported for HTTP requests. Additionally, the `PUT`, `DELETE`, and `PATCH` methods are supported in non-replicated mode only. `PUT`, `DELETE`, and `PATCH` are restricted to non-replicated mode to avoid confusing race conditions that may occur with replicated execution.

It is important to note the following for the usage of the `POST` method:

Expand All @@ -664,7 +664,7 @@ The following parameters should be supplied for the call:

- `max_response_bytes` - optional, specifies the maximal size of the response in bytes. If provided, the value must not exceed `2MB` (`2,000,000B`). The call will be charged based on this parameter. If not provided, the maximum of `2MB` will be used.

- `method` - currently, `GET`, `HEAD`, and `POST` are supported. Additionally, `PUT` and `DELETE` are supported in non-replicated mode only.
- `method` - currently, `GET`, `HEAD`, and `POST` are supported. Additionally, `PUT`, `DELETE`, and `PATCH` are supported in non-replicated mode only.

- `headers` - list of HTTP request headers and their corresponding values

Expand Down
2 changes: 1 addition & 1 deletion public/references/ic.did
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ type deposit_cycles_args = record {
type http_request_args = record {
url : text;
max_response_bytes : opt nat64;
method : variant { get; head; post; put; delete };
method : variant { get; head; post; put; delete; patch };
headers : vec http_header;
body : opt blob;
transform : opt record {
Expand Down
Loading