The number of PID's the /known/ endpoint can receive is specified in swh.web.config.
If the limit is exceeded, an InputSizeExc is raised with the error code 413.
Related (T2276)
Differential D2661
Web API: /known/ input size limit DanSeraf on Feb 12 2020, 3:17 PM. Authored by
Details
The number of PID's the /known/ endpoint can receive is specified in swh.web.config. Related (T2276)
Diff Detail
Event TimelineComment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/929/ Comment Actions Don't worry about the test failures, they are not related to your changes. I just restarted them.
Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/cypress-diff/538/
Comment Actions A new test should be added to check the 413 code is returned when the input pid list is too large..
Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/931/ Comment Actions Build is green
Comment Actions Build is green Comment Actions Build is green
Comment Actions Build is green Comment Actions Build is green Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/956/ Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/cypress-diff/565/ |