BUG?! Multipart FILE format



  • I am trying to upload an image. From what i read and understood i should format the multipart contents like this:
    FILE: file: 1.jpeg: image/jpeg
    ..however i am getting this error:
    ------WebKitFormBoundarydszfqpdtfhhduaup
    Content-Disposition: form-data; name="file"; filename="1.jpeg"
    Content-Type: 1.jpeg

    [FILE CONTENT OMITTED]

    It seems that the content type keeps deleting, as its not formated correctly.


Log in to reply