4d / 4D-NetKit

4D NetKit is a built-in 4D component that allows you to interact with third-party web services and their APIs.
Other
10 stars 8 forks source link

Accept `Content-Type` header #22

Closed Ganbin closed 11 months ago

Ganbin commented 1 year ago

Sometime the headers are capitalized.

yannicktrinh commented 11 months ago

Since 19R8, to address this kind of problems, response.headers always contains the header names in lowercase (in addition to response.rawHeaders, which contains the headers as sent by the Server).

See: https://developer.4d.com/docs/API/HTTPRequestClass#response

Thanks for your feeback