Skip to content

Bug: HTTP response headers override received email headers #191

@thedafidev

Description

@thedafidev

Since v2.23.0, the SDK overrides the headers field in JSON responses

This makes the original headers field unavailable (example: get received mail endpoint https://resend.com/docs/api-reference/emails/retrieve-received-email)

I suggest to rename the new headers field to maybe http_headers to be able to differentiate headers from the HTTP response and headers of the mail

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions