erpnext-mcp 0.4.0__py3-none-any.whl → 0.4.1__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.
erpnext_mcp/client.py CHANGED
@@ -248,7 +248,10 @@ class ERPNextClient:
248
248
  "/api/method/upload_file",
249
249
  files=files,
250
250
  data=data,
251
- headers={"Authorization": self.headers["Authorization"]},
251
+ headers={
252
+ "Authorization": self.headers["Authorization"],
253
+ "Expect": "", # 禁用 100-continue,避免 417 錯誤
254
+ },
252
255
  )
253
256
  resp.raise_for_status()
254
257
  result = resp.json()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: erpnext-mcp
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: MCP Server for ERPNext REST API
5
5
  Project-URL: Homepage, https://github.com/ching-tech/erpnext-mcp
6
6
  Project-URL: Repository, https://github.com/ching-tech/erpnext-mcp
@@ -0,0 +1,9 @@
1
+ erpnext_mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ erpnext_mcp/client.py,sha256=3R08zvNnDNf7TJxx7B4EmHYqdXWpucks3hc_NrwrIEM,13698
3
+ erpnext_mcp/server.py,sha256=am7xtqeOJgX5SN4oekz3Swh-6h3qsArlnr3StqEH9vw,21009
4
+ erpnext_mcp/types.py,sha256=MC7H3f1BgpvIbWDwXSv1uFwH8nTD0BMiiqnHypsutk8,643
5
+ erpnext_mcp-0.4.1.dist-info/METADATA,sha256=mAdfUPF_ArLkbxgYY_vl1Z5SxQVJ4267U-_U5juuENs,5723
6
+ erpnext_mcp-0.4.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
7
+ erpnext_mcp-0.4.1.dist-info/entry_points.txt,sha256=AbRXtSJhFq6PLmqKjNYkFjcKFjQwvkiTI8QAhqqAsps,56
8
+ erpnext_mcp-0.4.1.dist-info/licenses/LICENSE,sha256=M_cHb60t6PxhBL25Y_hbvWe8WaUxG1y5xh5qoWNIlYU,1067
9
+ erpnext_mcp-0.4.1.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- erpnext_mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- erpnext_mcp/client.py,sha256=wX71XIi6DO2tVyKcP82NIiC50CE-BxqjglAraERPjsA,13582
3
- erpnext_mcp/server.py,sha256=am7xtqeOJgX5SN4oekz3Swh-6h3qsArlnr3StqEH9vw,21009
4
- erpnext_mcp/types.py,sha256=MC7H3f1BgpvIbWDwXSv1uFwH8nTD0BMiiqnHypsutk8,643
5
- erpnext_mcp-0.4.0.dist-info/METADATA,sha256=b2digpWpo71sbQp5JxNArSLtWebRkQ81DPzgYgxy4_I,5723
6
- erpnext_mcp-0.4.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
7
- erpnext_mcp-0.4.0.dist-info/entry_points.txt,sha256=AbRXtSJhFq6PLmqKjNYkFjcKFjQwvkiTI8QAhqqAsps,56
8
- erpnext_mcp-0.4.0.dist-info/licenses/LICENSE,sha256=M_cHb60t6PxhBL25Y_hbvWe8WaUxG1y5xh5qoWNIlYU,1067
9
- erpnext_mcp-0.4.0.dist-info/RECORD,,