Hi, I recently updated to the latest GIT tip and the behaviour of the URL class seems to have changed since I last updated (over a year ago), which is breaking my app. Here is my scenario:
create an instance of URL:
const URL url (“https://” ACTIVATION_LINK “/unlock”);
call url.readEntireTextStream (false) to do a GET - the reply contains an “authenticity_token” which is associated with the current session.
create another instance of URL:
const URL url2 (“https://” ACTIVATION_LINK “/unlocks/log_and_unlock”);
call url2.withParameter (“authenticity_token”, _token).readEntireTextStream (true) to do a POST - using the token from step 2 to authenticate.
This used to work because juce_win32_Network.cpp was caching the connection. Now it seems to use a fresh connection each time, which invalidates my authenticity token in my web-app.
Any suggestions? Thanks.