Skip to content
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

ARC2_RemoteStore::runQuery() decides when to use GET or POST. #19

Open
WiredAcademic opened this issue Feb 1, 2012 · 0 comments
Open

Comments

@WiredAcademic
Copy link

Currently $mthd is used to decide both the Method and whether reading or writing is occurring. This should probably be separated. Then, it might be better if a variable could be set to override this behavior (or config option).

The reason I bring this up, is my hosting services restricts the query string value lengths by default to 512, and my SPARQL queries were running ~800 in length. I'm fixing my account, but it got me thinking... maybe it would be better to have a config option for using GET or POST.

Also, the current implementation uses the "$mthd" (method) to decide whether to use 'store_read_key" or "store_write_key". Instead, a variable called "$is_read_operation" could be used.

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

No branches or pull requests

1 participant