Found an ancient cgi script -- part III -- refactoring
Be sure to see the original script and the test cases in the prior posts.
We need to understand a little about what a web request is. This can help us do the refactoring.
It can help to think of a web server a function that maps a request to …
more ...