diff options
Diffstat (limited to 'src-py')
| -rw-r--r-- | src-py/neo4j_util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-py/neo4j_util.py b/src-py/neo4j_util.py index 5b7cfee7..642e094a 100644 --- a/src-py/neo4j_util.py +++ b/src-py/neo4j_util.py @@ -75,6 +75,8 @@ def post(url, data): req.add_header('Accept', 'application/json; charset=UTF-8') req.add_header('Content-Type', 'application/json') + req.add_header('X-Stream', 'true') # enable neo4j JSON streaming + try: ret = urllib2.urlopen(req, post_data_json) except urllib2.HTTPError as e: |
