Skip to content

Rename params to body in execute_sparql_query - #983

Merged
LeMyst merged 1 commit into
masterfrom
change-execute_sparql_query
Sep 19, 2026
Merged

LeMyst merged 1 commit into
masterfrom
change-execute_sparql_query

Conversation

@LeMyst

@LeMyst LeMyst commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Rename the local params dict to body in execute_sparql_query, since the SPARQL query is sent in the POST body (data=), not as URL parameters. Updates the dict declaration, the debug log and the helpers_session.post(..., data=body, ...) call.

The functional fix originally in this PR (sending the query with data= instead of params=, dropping the incorrect multipart/form-data Content-Type) already landed in master via #1030. After rebasing, only this cosmetic rename remains; no behaviour change.

🤖 Generated with Claude Code

@LeMyst
LeMyst force-pushed the change-execute_sparql_query branch 2 times, most recently from 5ac07b0 to bccc59c Compare July 4, 2026 15:15
The SPARQL query is sent in the POST body (data=), not as URL parameters,
so name the dict accordingly. The functional fix (data= instead of params=,
no bogus multipart Content-Type) already landed in master via #1030.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@LeMyst
LeMyst force-pushed the change-execute_sparql_query branch from bccc59c to 07c48b7 Compare September 19, 2026 12:28
@LeMyst LeMyst changed the title Send SPARQL query in POST body (fix execute_sparql_query) Rename params to body in execute_sparql_query Sep 19, 2026
@LeMyst
LeMyst merged commit 470f855 into master Sep 19, 2026
15 checks passed
@LeMyst
LeMyst deleted the change-execute_sparql_query branch September 19, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant