d3v-null / wp-api-python

A Python wrapper for the WooCommerce API.
MIT License
141 stars 34 forks source link

Add user-agent to login form auth request #4

Closed Michels10 closed 5 years ago

Michels10 commented 6 years ago

Some servers require a user-agent for every request.

d3v-null commented 5 years ago

Thanks @Michels10 Tests pass so we're all good. Apologies for missing this, I need to update my notification settings :P Out of curiosity, what kind of servers require this?

Michels10 commented 5 years ago

No worries! I believe in this case we were working with WPEngine.