https://bugzilla.wikimedia.org/show_bug.cgi?id=28884

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|Identifying the API client  |Browser-based JavaScript
                   |for browser-based           |clients can't identify
                   |JavaScript                  |since XMLHttpRequest
                   |                            |doesn't support changing
                   |                            |User-Agent

--- Comment #1 from Krinkle <[email protected]> 2011-05-08 16:10:31 UTC ---
Web developers making Ajax requests (XHttpRequest) can't and don't have to
touch the User-Agent. The browser environment in which you are in already has
this set. If this is not the case, I'd say contact your browser vendor, not a
bug.

The field is called "User-Agent' and not User_Agent, if an application uses the
wrong key, that application should be fixed, this is not a bug on Wikimedia's
end imho.

The User-Agent header must be sent, this policy is unlikely to change.
If you prefer to send some kind of identification in environments where a
User-Agent has already been set (eg. in a browser), you may use X-prefixed
fields I guess.

ie.

X-Source: MyAwesome Gadget; Version/1.0; Contact/[email protected];

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to