-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: SurrealHTTP URL query length #87
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Using the
query()
method, occasionally I will get aURL component 'query' too long
error (httpx module)Traceback
Relevant httpx code:
Where
MAX_URL_LENGTH = 65536
I know with certainty that the URL length (from my inputs) do not exceed 65535 characters.
Steps to reproduce
Use the
query()
method and input a long string via the config, for example:With my own node.js
SurrealHTTP
class, I've managed to mitigate any errors like this with theseaxios
parameters:Expected behaviour
The query should execute correctly, without issues.
SurrealDB version
1.1.1+20240116.b261047
surrealdb.py version
surrealdb.py 0.3.1 for windows running Python 3.12.1
Contact Details
[email protected]
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: