Re: [users@httpd] result codes from Bash CGI

2021-02-19 Thread Claude Warren
Doh! PBKAS! I originally coded with the wrong header. Thanks for the clarification and patience. Claude On Thu, Feb 18, 2021 at 10:18 PM Dino Ciuffetti wrote: > I see that they are easy to use and understand, but I could not find any > reference to them in the documentation. The fact that Ba

Re: [users@httpd] result codes from Bash CGI

2021-02-18 Thread Claude Warren
I see that they are easy to use and understand, but I could not find any reference to them in the documentation. The fact that Bash can be used as a CGI language is in the documentation, but nothing on the helper functions -- not even that they exist. Claude On Thu, Feb 18, 2021 at 6:05 PM Dino

Re: [users@httpd] result codes from Bash CGI

2021-02-17 Thread Claude Warren
Is there documentation for any of these methods? If you can point me to the proper section of the code base I can probably figure it out and document if necessary. Claude On Mon, Feb 15, 2021 at 11:59 PM Dino Ciuffetti wrote: > So I would do something like > echo "Status: 410 Gone" > to create

Re: [users@httpd] result codes from Bash CGI

2021-02-15 Thread Claude Warren
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 wrote: > > > > Greetings, > > > > I am playing with Bash based CGI. It works reasonably well. I know > that it is not blindingly fast,

[users@httpd] result codes from Bash CGI

2021-02-15 Thread Claude Warren
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 a