Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
HTTP getAsBinary should be treated as an explicit request for binary content unless `never` is passed.
Description
The getAsBinary attribute to the HTTP component is problematic as ACF and Lucee will still return binary data if the attribute value is no/false, if the content type in the response is a binary type.
Of the possible values, only never should always stringify the response.
Implement the attribute values as such:
* false/no/auto - Return binary only if the content type in the response header is a binary type * true/yes - Always return binary * never - Disallow return of binary data if the content type delivered is a binary type
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
The
getAsBinary
attribute to the HTTP component is problematic as ACF and Lucee will still return binary data if the attribute value isno/false
, if the content type in the response is a binary type.Of the possible values, only
never
should always stringify the response.Implement the attribute values as such:
*
false/no/auto
- Return binary only if the content type in the response header is a binary type*
true/yes
- Always return binary*
never
- Disallow return of binary data if the content type delivered is a binary type