Skip to content

MultipartData needs $ #11863

Closed
Closed
@juancarlospaco

Description

@juancarlospaco

Summary

  • httpclient.MultipartData needs a $ to stringuify.
  • Create a httpclient.`$`*(data: httpclient.MultipartData): string.
  • MultipartData is just a seq[string] so it should not be too complex to add.

Actual error of doing echo on a MultipartData:

Error: type mismatch: got <MultipartData>
expression: `$`(multipart_data)

Its useful for debugging and learning.
🙂

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions