Mercurial > hg > orthanc
comparison Resources/Samples/Python/RestToolbox.py @ 341:b51c67f28b33
documentation of the sample
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Jan 2013 16:01:58 +0100 |
parents | 61f6a3d66b85 |
children | 107da6a8c630 |
comparison
equal
deleted
inserted
replaced
340:61f6a3d66b85 | 341:b51c67f28b33 |
---|---|
1 import hashlib | |
2 import httplib2 | 1 import httplib2 |
3 import json | 2 import json |
4 import os.path | |
5 import Image | |
6 import zipfile | |
7 from urllib import urlencode | 3 from urllib import urlencode |
8 | 4 |
9 def DoGet(uri, data = {}): | 5 def DoGet(uri, data = {}): |
10 d = '' | 6 d = '' |
11 if len(data.keys()) > 0: | 7 if len(data.keys()) > 0: |