Closed Bug 1836803 Opened 1 year ago Closed 1 year ago

Drop the language parameter for Bing search suggestions

Categories

(Firefox :: Search, task, P3)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Whiteboard: [snt])

Attachments

(1 file)

For the Bing search engine, we are currently using a URL for suggestions that has a language parameter.

Under testing, it looks like the language parameter is no longer used, and Bing is using the Accept-Language header instead.

Documentation of a similar API also suggests that Accept-Language is used: https://learn.microsoft.com/en-us/bing/search-apis/bing-autosuggest/reference/query-parameters

Hence, I want to remove the language parameter from the URL. This will allow us to remove support for the {moz:locale} parameter replacement, however out of an abundance of caution, I want to delay removing support until after the URL change ships. I'll file a follow-up to remove that later.

Whiteboard: [snt]
Blocks: 1836804
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c6aac44fd0d6
Drop the language parameter for Bing search suggestions url. r=search-reviewers,jteow
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Blocks: 1896756
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: