-
Notifications
You must be signed in to change notification settings - Fork 2
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
SimpleCookieCache is disabled by default cloud request #3
Comments
@jason-rgl Thank you for letting us know. Are you able to submit this change in the form of a pull request so that we can review the changes being made? |
Hi Elliot, I’ve tried to create a pull request but it’s telling me I do not have permission to push my changes to this repository. [cid:[email protected]] Regards, From: Elliot Fehr [mailto:[email protected]] @jason-rglhttps://github.com/jason-rgl Thank you for letting us know. Are you able to submit this change in the form of a pull request so that we can review the changes being made? — |
@jason-rgl To submit a pull request on Github, you will want to fork the repository and make the changes to your forked copy. Once ready, you can request the changes be merged upstream by submitting a pull request of your forked repository. A good tutorial can be found here: https://help.github.com/articles/fork-a-repo/ |
Thanks Elliot, I’m completely new to github… you may have guessed. From: Elliot Fehr [mailto:[email protected]] @jason-rglhttps://github.com/jason-rgl To submit a pull request on Github, you will want to fork the repository and make the changes to your forked copy. Once ready, you can request the changes be merged upstream by submitting a pull request of your forked repository. A good tutorial can be found here: https://help.github.com/articles/fork-a-repo/ — |
Hi Elliot, Pull request created, but it doesn’t have my change…. Let me try again. Regards, From: Elliot Fehr [mailto:[email protected]] @jason-rglhttps://github.com/jason-rgl To submit a pull request on Github, you will want to fork the repository and make the changes to your forked copy. Once ready, you can request the changes be merged upstream by submitting a pull request of your forked repository. A good tutorial can be found here: https://help.github.com/articles/fork-a-repo/ — |
When detecting a device using this method of the API
The CloudClientManager is wrapping the request passed in in a DefaultCloudRequest:
But the getCookies method of DefaultCloudRequest is not delegating correctly, it's just throwing an exception:
This means that it is impossible for a client to provide a request that will store the cookie to cache the requests to the WURFL service.
This has caused a massive spike in our usage, taking us over our licensed number of requests.
I can propose a patch that allows this to happen while maintaining the functionilty provided by the DefaultCloudRequest:
The text was updated successfully, but these errors were encountered: