
14 Jun
2006
14 Jun
'06
2:15 p.m.
Austin Haas wrote:
Does anyone know of a way to fake a *request* to test a handler?
I find wget useful in these cases: wget -qO- http://your.url/here Useful options: -qO- displays the output in the console, -S shows the response headers instead (you cannot use it with -q) If you need to fake a POST, use: --post-data='field=value&field2=val2' Toby -- Pascal is for building pyramids—imposing, breathtaking structures built by armies pushing heavy blocks into place. Lisp is for building organisms. —Alan Perlis