From 42f93e74757d93bc87c032d871bce49b9b0ee03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Luna?= Date: Thu, 24 Aug 2017 18:11:20 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20do=20cabe=C3=A7alho=20do?= =?UTF-8?q?=20xml=20para=20funcionamento=20do=20servi=C3=A7=C3=B5es=20de?= =?UTF-8?q?=20distribu=C3=AD=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pytrustnfe/client.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pytrustnfe/client.py b/pytrustnfe/client.py index bf76c7b..ff78715 100644 --- a/pytrustnfe/client.py +++ b/pytrustnfe/client.py @@ -44,7 +44,7 @@ class HttpClient(object): def _headers(self, action): return { - u'Content-type': u'application/soap+xml; charset=utf-8; action="http://www.portalfiscal.inf.br/nfe/wsdl/%s"' % action, + u'Content-type': u'text/xml; charset=utf-8; action="http://www.portalfiscal.inf.br/nfe/wsdl/%s"' % action, u'Accept': u'application/soap+xml; charset=utf-8', } diff --git a/setup.py b/setup.py index f74be77..d536688 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # coding=utf-8 from setuptools import setup, find_packages -VERSION = "0.1.39" +VERSION = "0.1.40" setup( name="PyTrustNFe",