panther 3.8.1__py3-none-any.whl → 3.8.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
panther/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  from panther.main import Panther # noqa: F401
2
2
 
3
- __version__ = '3.8.1'
3
+ __version__ = '3.8.2'
4
4
 
5
5
 
6
6
  def version():
panther/main.py CHANGED
@@ -300,6 +300,7 @@ class Panther:
300
300
  async def _raise(self, send, *, status_code: int):
301
301
  await http_response(
302
302
  send,
303
+ headers={'content-type': 'application/json'},
303
304
  status_code=status_code,
304
305
  monitoring=self.monitoring,
305
306
  exception=True,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: panther
3
- Version: 3.8.1
3
+ Version: 3.8.2
4
4
  Summary: Fast & Friendly, Web Framework For Building Async APIs
5
5
  Home-page: https://github.com/alirn76/panther
6
6
  Author: Ali RajabNezhad
@@ -1,4 +1,4 @@
1
- panther/__init__.py,sha256=sxGEJd2i5R8BqUGWsC5YBeZeY0C0YICZHJM27Wu09bc,110
1
+ panther/__init__.py,sha256=BxHPfeiPa9IiyVmruTkfZevBJk7kM_UBuyJDO4YE6J4,110
2
2
  panther/_load_configs.py,sha256=jlDO5rK040z3LLmMFMJ6jUL9oTKaDKCWebwmdYJPDjw,9567
3
3
  panther/_utils.py,sha256=BHAOdpESn3dt90FtpPKxEZdnkXnDC7MFcncJYburEaQ,4846
4
4
  panther/app.py,sha256=3Qf0b-OtczqU5xs7AT7_hFr3t1eFMqzaThQOFu-RoqE,8060
@@ -11,7 +11,7 @@ panther/configs.py,sha256=8pVMWa2QKaeNOlIUCLX3qfNXl0vNdraiGL4OGykFPXI,2884
11
11
  panther/exceptions.py,sha256=DB6nGfU5LxrglEN_I-HInMqdIA3ZmN8rRv0ynEuQyGA,1332
12
12
  panther/file_handler.py,sha256=YhqYpGhNybcQBqcxqDEYwI1Hqd-7U5JcwxMb7UM_DbA,854
13
13
  panther/logging.py,sha256=DZVf3nxzLodT-hD4820J1jEAffU8zIxXRPKs2lbP8ho,2074
14
- panther/main.py,sha256=0q-ViNYzrR6EgNLZiGqWOlOhpRiJEnunmiqJVfHq6o8,12246
14
+ panther/main.py,sha256=rBB8e8kuh8BtOq6WPoc_-XOaLX8i-n2HY3ZFPp78Mg4,12304
15
15
  panther/monitoring.py,sha256=krmcoTUcV12pHwCFVAHywgsp1-US9cyiMlgsrMJdUQ0,1203
16
16
  panther/permissions.py,sha256=Q-l25369yQaP-tY11tFQm-v9PPh8iVImbfUpY3pnQUk,355
17
17
  panther/request.py,sha256=u_-pyttspRimlSwpSwyVIV0U87hHDIthsFU9Qr8LDvI,1762
@@ -46,9 +46,9 @@ panther/panel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  panther/panel/apis.py,sha256=HUf9Km81wWtO3pbgW0Oi5MDbLvX5LIWdiFRy05UsitE,1773
47
47
  panther/panel/urls.py,sha256=BQkWqSJBPP3VEQYeorKSHIRx-PUl21Y7Z6NFylmhs1I,192
48
48
  panther/panel/utils.py,sha256=0Rv79oR5IEqalqwpRKQHMn1p5duVY5mxMqDKiA5mWx4,437
49
- panther-3.8.1.dist-info/LICENSE,sha256=2aF1hL2aC0zRPjzUkSxJUzZbn2_uLoOkn7DHjzZni-I,1524
50
- panther-3.8.1.dist-info/METADATA,sha256=KMHrczETrp-LQzP2SxiPcHqaiKuLz2TkUT6dLv5TSU4,6023
51
- panther-3.8.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
52
- panther-3.8.1.dist-info/entry_points.txt,sha256=6GPxYFGuzVfNB4YpHFJvYex6iWah5_tLnirAHwj2Qsg,51
53
- panther-3.8.1.dist-info/top_level.txt,sha256=VbBs02JGXTIoHMzsX-eLOk2MCbBZzQbLhWiYpI7xI2g,8
54
- panther-3.8.1.dist-info/RECORD,,
49
+ panther-3.8.2.dist-info/LICENSE,sha256=2aF1hL2aC0zRPjzUkSxJUzZbn2_uLoOkn7DHjzZni-I,1524
50
+ panther-3.8.2.dist-info/METADATA,sha256=1bNtyftxbZetjdusrShmCiWOxAAJFkZZJBrQzt-86ww,6023
51
+ panther-3.8.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
52
+ panther-3.8.2.dist-info/entry_points.txt,sha256=6GPxYFGuzVfNB4YpHFJvYex6iWah5_tLnirAHwj2Qsg,51
53
+ panther-3.8.2.dist-info/top_level.txt,sha256=VbBs02JGXTIoHMzsX-eLOk2MCbBZzQbLhWiYpI7xI2g,8
54
+ panther-3.8.2.dist-info/RECORD,,