Closed Bug 1569130 Opened 5 years ago Closed 5 years ago

Explain in the API doc that Bugzilla returns a 302 redirect when the query string is > 10 KB

Categories

(bugzilla.mozilla.org :: Documentation, task)

Production
task
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: boris.feld, Assigned: kohei)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Related to https://bugzilla.mozilla.org/show_bug.cgi?id=1568893, I'm getting weird errors when sending lots of bug ids to the API. With 1000 bug ids, I get a 302 redirecting to https://bugzilla.mozilla.org/ while with 500 bug ids I get the expected answers.

The links are here: https://gist.github.com/Lothiraldan/33aada22eef497e1f3539e3f2a810815

No longer depends on: 1568893
URL: 1497721

We solved this partially in Bug 1497721. The current URL limit is 10 KB. You need to divide too many IDs into multiple requests.

URL: 1497721
See Also: → 1497721

We should probably mention this in the API document.

Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Type: defect → task
Component: Search → Documentation
Summary: Bugzilla is returning a 302 when the query string become too big → Explain in the API doc that Bugzilla returns a 302 error when the query string is > 10 KB
Attached file GitHub Pull Request
Summary: Explain in the API doc that Bugzilla returns a 302 error when the query string is > 10 KB → Explain in the API doc that Bugzilla returns a 302 redirect when the query string is > 10 KB

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: