8p / EightPointsGuzzleBundle

⛽️ Integrates Guzzle 6.x, a PHP HTTP Client, into Symfony
MIT License
440 stars 71 forks source link

WSSE does not work #15

Closed sebastianblum closed 9 years ago

sebastianblum commented 9 years ago

hello Florian,

Thank you very much for your support, the last issue with the Content-Type-Header is working now.

At the moment, the wsse token is ignored, this is my configuration:

  guzzle:
    emarsys:
      base_url: %terrafinanz_email.export.uri%
      headers:
        'Content-Type': "application/json"
      plugin:
         wsse:
           username: %terrafinanz_email.export.username%
           password: %terrafinanz_email.export.secret%

In the console, I don't see the X-WSSE header:

bildschirmfoto 2015-07-31 um 10 33 43

Thank you very much and greetings from munich, Sebastian

florianpreusner commented 9 years ago

Hi,

yes, this is bug that WSSE headers are not displayed. But they should be send by Guzzle. The problem is, that every time a header is added a new request object is created. That's why it is not recognized by profiler. Going to think about a solution.

Best regards