Mercurial > hg > orthanc
comparison Resources/Samples/Python/RestToolbox.py @ 747:44382c8bcd15
added explicit licensing terms for samples
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Apr 2014 11:48:40 +0200 |
parents | 76bc8770741b |
children | 4e9d517503ae |
comparison
equal
deleted
inserted
replaced
746:478f4f9de9eb | 747:44382c8bcd15 |
---|---|
1 # Orthanc - A Lightweight, RESTful DICOM Store | |
2 # Copyright (C) 2012-2014 Medical Physics Department, CHU of Liege, | |
3 # Belgium | |
4 # | |
5 # This program is free software: you can redistribute it and/or | |
6 # modify it under the terms of the GNU General Public License as | |
7 # published by the Free Software Foundation, either version 3 of the | |
8 # License, or (at your option) any later version. | |
9 # | |
10 # This program is distributed in the hope that it will be useful, but | |
11 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 # General Public License for more details. | |
14 # | |
15 # You should have received a copy of the GNU General Public License | |
16 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
17 | |
18 | |
1 import httplib2 | 19 import httplib2 |
2 import json | 20 import json |
3 from urllib import urlencode | 21 from urllib import urlencode |
4 | 22 |
5 _credentials = None | 23 _credentials = None |