Brief bug description
Requests are sent with header Accept set to applications/json instead of application/json.
Repro steps
- Send a request e.g. using
DeliveryClient.getItem().
- Observe the headers of the sent request.
- It is
applications/json.
Expected behavior
Accept header should be set to application/json.
Test environment
- Platform/OS: Java, Windows
- Browser: N/A
- Version: Current master branch
Additional context
The problem derives from https://github.com/kontent-ai/java-packages/blob/master/delivery-sdk/src/main/java/kontent/ai/delivery/DeliveryClient.java, line 587.