From aa1f090fb64123ed3f86571178c45c083bf3c95c Mon Sep 17 00:00:00 2001 From: Somefive Date: Tue, 9 Aug 2022 15:19:32 +0800 Subject: [PATCH] Fix: add status code for cue struct (#4580) Signed-off-by: Somefive --- pkg/stdlib/pkgs/http.cue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/stdlib/pkgs/http.cue b/pkg/stdlib/pkgs/http.cue index e18dc69cb..5810d35b5 100644 --- a/pkg/stdlib/pkgs/http.cue +++ b/pkg/stdlib/pkgs/http.cue @@ -8,12 +8,15 @@ body: string header: [string]: string trailer: [string]: string + ... } tls_config?: secret: string response: { body: string header?: [string]: [...string] trailer?: [string]: [...string] + statusCode: number + ... } ... }