Closed GitHK closed 5 years ago
That seems related to the version of WebOb that gets installed. In 2.4 that depends on newer WebOb that shouldn't be a problem anymore, but for older TG versions if TurboGears
package is not installed first, pip
might end up picking the wrong version.
Using TG
2.3.12 might partially improve the sitaution, but the real fix is to ensure your application directly depends on the right version of WebOb.
With the following setup:
@cached(type='memory')
I guess it could still be present in other releases as well.
The below command works as expected:
This generates the traceback you can see at the end:
Is it possible to have a fix for it? I know browsers already add these for you, but other libraries, like Android's Volley do not do this by default. Would it be possible to have a fix?