Steps :
Attempt to download a file from the URL that returns "HTTP 400" error.
Actual result : "Bad request" string is returned in plain text
Expected result : A valid JHttpError is returned.
JFFAsyncOperation genericDataURLResponseLoader(JFFURLConnectionParams *params)
{
return privateGenericDataURLResponseLoader(params, nil);
}
dataURLResponseLoader() implementation is missing the downloadErrorFlagResponseAnalyzer() predicate (nil is used as a stub). Adding the mentioned predicate solves the issue but some backward compatibility checks (code review) are required.