Re: CGI and euc
- Posted by CoJaBo2 Jan 14, 2013
- 2361 views
HTTP/1.0 200 OKCGI is not HTTP; This should be:
Status: 200 OK
There should be a space after the
Content-Type: text/javascript
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">HTML Transitional has been obsolete for quite a number of years; Use HTML5- <!DOCTYPE html>
<script src="http://localhost:8088/cgi/suck.exe?argument=nothing particular" type="text/javascript"></script>Spaces aren't valid in URLs; encode them as + or %20.
Edit by euphoric: two dots are a colon