Jump to content

'X-Powered-By', 'PrestaShop Webservice') Issue


spydera

Recommended Posts

I am using Printful.com as a vendor and suddenly the prestashop store stopped connecting to Printful on its own.

Contacted Printful and they replied:

Quote

We are expecting a header in the form: X-Powered-By: PrestaShop Webservice but we are receiving the header x-powered-by: PrestaShop Webservice   <-- notice lower case here

What's the reason suddenly this could be sending the header in lowercase?

In  \classes\webservice\WebServiceRequest.php   I have:

setHeaderParams('X-Powered-By', 'PrestaShop Webservice')

This is the only file where its being set as far as I can search.

Prestashop Version 1.7.6.5

Any help appreciated.

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...