Allow for a linker's Browse form to be delivered as a POST request #136
Merged
quoideneuf merged 1 commit intoarchivesspace:masterfrom Feb 26, 2015
Merged
Conversation
…ather than assuming GET. Due to the 4kb limit on GET request data, there are some cases when the form search data can grow quite large, namely when including other linkers as search filters (which deliver both the record's URI and _resolved json to esnure the linker is kept in sync).
payten
added a commit
to hudmol/container_management
that referenced
this pull request
Feb 23, 2015
…hivesspace#136 is available upstream the linker.js will treat this search as a POST and we won't hit the 4kB max-header limit in Jetty
quoideneuf
pushed a commit
that referenced
this pull request
Feb 26, 2015
…ate-post Allow for a linker's Browse form to be delivered as a POST request
rentonsa
pushed a commit
to rentonsa/archivesspace
that referenced
this pull request
Dec 20, 2017
LIB001-618: Adding border to images on CLD record page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @cfitz, @quoideneuf,
This little patch allows for the linker's Browse form to be delivered as a POST request rather than assuming GET. Due to the default 4kB limit on GET request data (Jetty), there are some cases when the form search data can grow quite large, namely when including other linkers as search filters (these deliver both the record's URI and _resolved json to esnure the linker is kept in sync).
The patch is to the linker.js javascript and allows the target form to define the preferred method (POST || GET).
Thanks! Hope you guys are well.
Payten