erpnext-mcp 0.4.0__tar.gz → 0.4.1__tar.gz
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-0.4.0 → erpnext_mcp-0.4.1}/PKG-INFO +1 -1
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/pyproject.toml +1 -1
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/src/erpnext_mcp/client.py +4 -1
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/.env.example +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/.github/workflows/publish.yml +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/.gitignore +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/CLAUDE.md +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/LICENSE +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/README.md +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/docs/api-reference.md +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/docs/development-notes.md +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/docs/testing.md +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/mcp.json.example +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/src/erpnext_mcp/__init__.py +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/src/erpnext_mcp/server.py +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/src/erpnext_mcp/types.py +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/tests/__init__.py +0 -0
- {erpnext_mcp-0.4.0 → erpnext_mcp-0.4.1}/tests/test_integration.py +0 -0
|
@@ -248,7 +248,10 @@ class ERPNextClient:
|
|
|
248
248
|
"/api/method/upload_file",
|
|
249
249
|
files=files,
|
|
250
250
|
data=data,
|
|
251
|
-
headers={
|
|
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()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|