py-trello icon indicating copy to clipboard operation
py-trello copied to clipboard

Add HTTP User-Agent to fetchJSON

Open sadlassian opened this issue 1 year ago • 1 comments

This adds an HTTP User-Agent to all of the requests made by the client.

Recently, there was an issue where Trello put api.trello.com behind CloudFront, which caused GET requests with an empty body to return a 403 status code (see: https://github.com/sarumont/py-trello/issues/373).

A fix for fixing GET requests with a body is already pending (see: https://github.com/sarumont/py-trello/pull/374).

For future possible issues, adding a User-Agent to this library will help Trello SREs identify where affected traffic is coming from, which means a better experience for users!

sadlassian avatar Feb 27 '24 16:02 sadlassian

When can we expect this to be merged? Are you looking for more maintainers? cc: @sarumont

veracus avatar Feb 28 '24 04:02 veracus

Thanks for working out a fix to this issue folks. My site is not talking to Trello any more because of it.

I second the question above: when can we expect this to be merged?

kdinn avatar Mar 13 '24 23:03 kdinn

See discussion re: repo's future

Kab00mKap0w avatar Apr 01 '24 18:04 Kab00mKap0w