Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add useragent to curl request #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vmaury
Copy link

@vmaury vmaury commented Nov 8, 2024

In some cases, useragent is null
And when calling a PS API hosted in OVH provider, the request is refused (the HTTP response code is 302)

Questions Answers
Description? Add useragent to curl request, because it's sometimes empty, and the request is refused
Type? misfunction with some providers like OVH

In some cases, useragent is null
And when calling a PS API hosted in OVH provider, the request is refused (the HTTP response code is 302)
@ps-jarvis
Copy link

Hello @vmaury!

This is your first pull request on PrestaShop-webservice-lib repository of the PrestaShop project.

Thank you, and welcome to this Open Source community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for review
Development

Successfully merging this pull request may close these issues.

2 participants