diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-21 18:19:44 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-21 18:19:44 +0100 |
commit | aad2c9860410cdbe0a80b48aba74437994cfd3e1 (patch) | |
tree | 3147d451b902e5e68e37914c34391a46db3933e8 /src/loader/connecterror.nim | |
parent | 98fd959625c2f9227066fdd43590af12c8f40e91 (diff) | |
download | chawan-aad2c9860410cdbe0a80b48aba74437994cfd3e1.tar.gz |
cgi: return ConnectionError when script is not executable
Diffstat (limited to 'src/loader/connecterror.nim')
-rw-r--r-- | src/loader/connecterror.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/loader/connecterror.nim b/src/loader/connecterror.nim index acd4a28f..1b529128 100644 --- a/src/loader/connecterror.nim +++ b/src/loader/connecterror.nim @@ -1,4 +1,5 @@ type ConnectErrorCode* = enum + ERROR_FAILED_TO_EXECUTE_CGI_SCRIPT = (-14, "failed to execute CGI script") ERROR_CGI_NO_DATA = (-13, "CGI script returned no data") ERROR_CGI_MALFORMED_HEADER = (-12, "CGI script returned a malformed header") ERROR_CGI_INVALID_CHA_CONTROL = (-11, "CGI got invalid Cha-Control header") |