Update webPagePost to handle error redirection
Merge pull request #10 from ia3andy/patch-1

Update webPagePost to handle error redirection