Re: result codes from Bash CGI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There is a pseudo header you can emit from your CGI called Status that
allows you to change the HTTP status code.
You can set it just like you'd set e.g. Content-Type

On Mon, Feb 15, 2021 at 11:37 AM Claude Warren <claude@xxxxxxxxx> wrote:
>
> Greetings,
>
> I am playing with Bash based CGI.  It works reasonably well.  I know that it is not blindingly fast, but I think it will be sufficient for what I want to do if I can solve one problem.  I can see how to generate any result code other than 200.
>
> Is there a way to set the result code to anything else?  If so how?  Is there documentation?
>
> Thank you,
> Claude
>
> --
> I like: Like Like - The likeliest place on the web
> LinkedIn: http://www.linkedin.com/in/claudewarren



-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux