Skip to content

Allow for a linker's Browse form to be delivered as a POST request #136

Merged
quoideneuf merged 1 commit intoarchivesspace:masterfrom
payten:allow-linker-browse-form-to-generate-post
Feb 26, 2015
Merged

Allow for a linker's Browse form to be delivered as a POST request #136
quoideneuf merged 1 commit intoarchivesspace:masterfrom
payten:allow-linker-browse-form-to-generate-post

Conversation

@payten
Copy link
Copy Markdown
Contributor

@payten payten commented Feb 23, 2015

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

…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
@quoideneuf quoideneuf merged commit 69db555 into archivesspace:master Feb 26, 2015
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
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.

2 participants