Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The json-decorator-scope didn't set the user-agent yet.
Add the header-dictionaries from base (which should've got the User-Agent set, at the very least in case we wrap around something that inherits from DefaultUserAgentScope, which is the only use-case I encountered) with the json-specific settings that are already in there. In order to prevent breaking the API, don't directly change the inheritance of the JsonDecoratorScope, but instead check for the existance of the header-dict in the base. CURA-12067
- Loading branch information