swisspol / GCDWebServer

The #1 HTTP server for iOS, macOS & tvOS (also includes web based uploader & WebDAV server)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GCDWebServerMultiPartFormRequest parses data incorrectly

nairda1705 opened this issue · comments

I have a client in C# which sends a database to the iOS server via a POST request. After receiving the file, I try to open it, but I get an error that the header is invalid so I looked at the data of the file.
This is a header from the request to confirm that the Content-Type is multipart/form-data.
ss1
You can see that there are some residues like the boundary. Is this the normal behaviour?
ss2
This boundary is also displayed at the end of the data.
ss3