Code Monkey home page Code Monkey logo

Comments (3)

raymondberg avatar raymondberg commented on July 16, 2024

Hi @andymckay! We did some review and our test cases all showed that we are sending */*; q=0.5, application/xml. Can you double check that the headers you're seeing exclude */* seeing? You’re absolutely right that an Accept header of */*; q=0.5 text/plain would seem to make more sense. We will look at updating that to be more accurate!

from braintree_python.

andymckay avatar andymckay commented on July 16, 2024

Looks like my wiki syntax foo in the original comment was week and it was stripping the * out of the Accept strings. I just confirmed that the Accept header from Braintree on this endpoint is: '*/*; q=0.5, application/xml'

It feels like that the fix is for the request on Braintree's end to be correct, followed by this library and its tests.

from braintree_python.

raymondberg avatar raymondberg commented on July 16, 2024

We rolled this change into our environment. We have separate test cases internally to handle this case, but we're going to leave the sad path tests out of the individual client library tests. Thanks again!

from braintree_python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.