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
I expected the mime/multipart writer to have a function that writes the standard mime header, e.g. writer.AddHeader . The format of the header is specified here, an example provided above: https://datatracker.ietf.org/doc/html/rfc2045#page-8
The text was updated successfully, but these errors were encountered:
Go version
go version go1.21.5 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
I tried to generate a multipart mime payload for AWS EC2 userdata.
What did you see happen?
The multipart payload was rejected by cloud-init as it lacked a standard mime header:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=
What did you expect to see?
I expected the mime/multipart writer to have a function that writes the standard mime header, e.g. writer.AddHeader . The format of the header is specified here, an example provided above: https://datatracker.ietf.org/doc/html/rfc2045#page-8
The text was updated successfully, but these errors were encountered: