Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Must/should/can I write nph scripts?

nph scripts write
0
Posted

Must/should/can I write nph scripts?

0

Generally, no. It is usually better to save yourself hassle by letting the HTTPD produce the headers for you. If you are going to use NPH, be sure to read and understand the HTTP spec at http://www.w3.org/pub/WWW/Protocols/ Your headers should be complete and accurate, because you’re instructing the HTTPD not to correct them or insert what’s missing. Possible circumstances where the use of NPH is appropriate are: * When your headers are sufficiently unusal that they might be differently parsed by different HTTPDs (eg combining “Location:” with a “Status:” other than 302). * When returning output over a period of time (eg displaying unbuffered results of a slow operation in ‘real’ time). See RFC1945 (HTTP/1.0) or RFC2068 (HTTP/1.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123