fix bug of post 'multipart/form-data' request without file data

When post a request with Content-Type of 'multipart/form-data' without file data, it will occur 'unexpected streaming' exception in Web Server. I found it has something wrong when write boundary in these code.