diff --git a/site/src/pages/docs/advanced-client-preprocessor.mdx b/site/src/pages/docs/advanced-client-preprocessor.mdx index eb214597856..a67dd6c2a80 100644 --- a/site/src/pages/docs/advanced-client-preprocessor.mdx +++ b/site/src/pages/docs/advanced-client-preprocessor.mdx @@ -155,7 +155,6 @@ In the following example, the will be overwritten from WebClient client = WebClient .builder() .preprocessor((delegate, ctx, req) -> { - assert ctx.sessionProtocol() == SessionProtocol.HTTP; // HTTP from the request ctx.sessionProtocol(SessionProtocol.HTTPS); // overwrite to HTTPS return delegate.execute(ctx, req); })