microsoft / dev-proxy

Dev Proxy is an API simulator that helps you effortlessly test your app beyond the happy path.
https://aka.ms/devproxy
MIT License
471 stars 56 forks source link

[SharePoint API]: Decorate traffic guidance #206

Open garrytrinder opened 1 year ago

garrytrinder commented 1 year ago

Source: https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online#how-to-decorate-your-http-traffic

Well-decorated traffic will be prioritized over traffic that isn't properly decorated.

We should provide guidance when requests are sent that do not use a recommended user agents strings.

waldekmastykarz commented 1 year ago

This guidance is outdated and is no longer used for anything related to throttling.

garrytrinder commented 1 year ago

@waldekmastykarz does your comment imply that the docs are out of date/incorrect?

waldekmastykarz commented 1 year ago

Correct, that's what I mean after checking with the PG

carlgrzywacz commented 2 months ago

@waldekmastykarz Can you confirm that this is no longer need for both CSOM and Graph calls?

waldekmastykarz commented 2 months ago

I've just confirmed it with the PG and the guidance stands and we still recommend it