As a result of my comment above, this becomes:

```
data = urllib.urlencode( request )
```