From e7386ca3eb6750b8d0002a72c137155b81d52fd1 Mon Sep 17 00:00:00 2001 From: Chris Lee Date: Thu, 21 May 2015 16:12:45 -0400 Subject: [PATCH 1/2] ADD: Source header for req src --- indicoio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indicoio/__init__.py b/indicoio/__init__.py index cdeea35..32493af 100644 --- a/indicoio/__init__.py +++ b/indicoio/__init__.py @@ -1,6 +1,6 @@ from functools import partial -JSON_HEADERS = {'Content-type': 'application/json', 'Accept': 'text/plain'} +JSON_HEADERS = {'Content-type': 'application/json', 'Accept': 'text/plain', 'Source': 'python'} Version, version, __version__, VERSION = ('0.5.3',) * 4 From 257334020e417fd6a91eca7187a78e54aad12afd Mon Sep 17 00:00:00 2001 From: Chris Lee Date: Thu, 21 May 2015 17:07:53 -0400 Subject: [PATCH 2/2] FIX: client-lib key to be consistent --- indicoio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indicoio/__init__.py b/indicoio/__init__.py index 32493af..ad8c604 100644 --- a/indicoio/__init__.py +++ b/indicoio/__init__.py @@ -1,6 +1,6 @@ from functools import partial -JSON_HEADERS = {'Content-type': 'application/json', 'Accept': 'text/plain', 'Source': 'python'} +JSON_HEADERS = {'Content-type': 'application/json', 'Accept': 'text/plain', 'client-lib': 'python'} Version, version, __version__, VERSION = ('0.5.3',) * 4