[ create a new paste ] login | about

seanohalpin

Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages:
About:

Saved pastes by seanohalpin:

Python, pasted on Mar 22:
1
2
3
4
5
# based on Zed Shaw's example at http://codepad.org/xct0E5ac

import re
def parse_payload(data):
    assert data, "Invalid data to parse, it's empty."
...
view (78 lines, 10 lines of output)