Repository navigation
Commit 87e9f6f
committed
Enhance NDJSON response handling in _parse_response function
This commit updates the `_parse_response` function in `execute_cypher_query.py` to return `None` for NDJSON responses, improving the robustness of response parsing. This change ensures that the function correctly identifies NDJSON content types and avoids unnecessary parsing attempts.
Testing Notes:
- Verify that NDJSON responses are handled correctly without errors.
- Ensure that other response types continue to be processed as expected.1 parent e650c4c commit 87e9f6f
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
0 commit comments