Just spend a few minutes constructing requests that cause the remote server to respond with each of their response texts; then store this in your text-to-response-code hash. Job done.
In reply to Re: Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem
by BrowserUk
in thread Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem
by ted.byers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |