Background
ZyteAPI server currently has the following maximum limits on cookie objects:
- Overall size of cookie object: 2048
- name: 256
- value: 2100
- domain: 500
However, ZyteAPI middleware does not check these size limits and all cookies are sent to the server which results in a server error: (status=400, type='/request/invalid')
Desired Behavior
Similar to the maximum cookie objects warning, the ZyteAPI middleware should throw a warning and discard any cookie object within experimental.requestCookies that exceeds these limits.
Background
ZyteAPI server currently has the following maximum limits on cookie objects:
However, ZyteAPI middleware does not check these size limits and all cookies are sent to the server which results in a server error: (status=400, type='/request/invalid')
Desired Behavior
Similar to the maximum cookie objects warning, the ZyteAPI middleware should throw a warning and discard any cookie object within
experimental.requestCookiesthat exceeds these limits.