Skip to content

Binding doesn't support multipart/form-data #109

Closed
@techjanitor

Description

@techjanitor

context.go only supports application/x-www-form-urlencoded for forms:
case c.Request.Method == "GET" || ctype == MIMEPOSTForm:
b = binding.Form

[GIN] 2014/09/01 - 03:48:13 | 400 | 248.788us | 172.4.231.9 POST /post
Error #1: unknown content-type: multipart/form-data
Meta: Operation aborted

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions