Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
backwards-compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Oct 7, 2024
1 parent 47d6969 commit 9beb0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2499,7 +2499,7 @@ The returned response (and the response provided to the `transform` function, if

The `transform` function may, for example, transform the body in any way, add or remove headers, modify headers, etc. The maximal number of bytes representing the response produced by the `transform` function is `2MB` (`2,000,000B`). Note that the number of bytes representing the response produced by the `transform` function includes the serialization overhead of the encoding produced by the canister.

When the transform function is invoked by the system due to a canister HTTP request, the caller's identity is the principal of the canister making the canister HTTP request. This information can be used by developers to implement access control mechanism for this function.
When the transform function is invoked by the system due to a canister HTTP request, the caller's identity is the principal of the management canister if the canister making the canister HTTP request is the same as the canister exposing the transform function, otherwise the caller's identity is the principal of the canister making the canister HTTP request. This information can be used by developers to implement access control mechanism for this function.

The following additional limits apply to HTTP requests and HTTP responses from the remote sever:

Expand Down

0 comments on commit 9beb0a6

Please sign in to comment.