diff --git a/src/AWSExceptions.jl b/src/AWSExceptions.jl index a62a51733..6ad688faf 100644 --- a/src/AWSExceptions.jl +++ b/src/AWSExceptions.jl @@ -98,7 +98,11 @@ function AWSException(e::HTTP.StatusError, body::AbstractString) end # Extract API error code from XML error message... - if endswith(content_type, "/xml") || startswith(body, " 0