appsmithorg / appsmithorg/appsmith

[Feature]-[3200]:Setting for different character encodings in API calls

Đang mở
#2,563 4 bình luận 1 reaction 0 người được giao Xem trên GitHub
Backend Enhancement High Integrations Product Query & JS Pod Query Widgets & IDE Pod REST API plugin
Ngôn ngữ chính
TypeScript
Star
40.9k
Fork
4.8k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
45

Mô tả

## Summary

Give the possibility to successfully use APIs that return bodies in other formats than the default UTF-8.

## Motivation

An API might for instance return a XML body, encoded in ISO-8859-1 format. Special characters (like the swedish åäö) wont be interpreted correctly and the API response is not useable.

If there were an option for this in the APIs config the user could set the character encoding to be used when interpreting the response.

## Additional Context

### Example API response with other encoding than UTF-8

```
HTTP/1.1 200
Transfer-Encoding: chunked
Access-Control-Allow-Origin: *
Content-Type: text/xml; charset=windows-1252
Date: Wed, 13 Jan 2021 13:00:03 GMT
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.