Hello all,
The Chinese Wikipedia recently has deployed a gadget written by me which sends
requests to /page/summary API of other wikis. During development I found that
adding Api-User-Agent causes the request to be
[non-simple](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests)
and the browser will send a additional CORS preflight request, adding latency.
My gadget is sensitive to latency so I want to avoid this additional request.
I'm writing to ask: (1) Is not adding Api-User-Agent for the reason above a
violation of the policy? (2) Is there a way to provide user agent information
without causing this additional request?
Best regards,
diskdance
_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/