You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg, gif) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests."
329
+
"The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg, gif, avif) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests."
message: 'The file does not have an extension and the file type could not be inferred. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg). Refer to the documentation for additional guidance on forming image requests.'
450
+
code: "RequestTypeError",
451
+
message:
452
+
"The file does not have an extension and the file type could not be inferred. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg, avif). Refer to the documentation for additional guidance on forming image requests.",
Copy file name to clipboardExpand all lines: source/image-handler/test/image-request.spec.js
+36-1Lines changed: 36 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -975,7 +975,7 @@ describe('parseRequestType()', function () {
975
975
expect(error).toEqual({
976
976
status: 400,
977
977
code: 'RequestTypeError',
978
-
message: 'The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg, gif) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests.'
978
+
message: 'The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg, gif, avif) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests.'
979
979
});
980
980
}
981
981
});
@@ -1197,4 +1197,39 @@ describe('getOutputFormat()', function () {
1197
1197
expect(result).toEqual(null);
1198
1198
});
1199
1199
});
1200
+
describe("003/AutoAVIFDisabled",function(){
1201
+
it("Should pass if it returns null when AUTO_AVIF is disabled with accepts header including avif",function(){
0 commit comments