I have the following code :
what = re.match("get|post|put|head\s+(\S+) ",data,re.IGNORECASE)
and in the data variable let's say I have this line :
GET some-site.com HTTP/1.0 ...
If I stop the script in the debugger, and inspect the what variable, I can see it only matched GET. Why doesn't it match some-site.com ?