Closed Orkin closed 9 years ago
When we upload a file the content of the request is multipart so we don't have a content and we need to retrieve data from $_POST
@Orkin what's the request content in that case (the output of getContent()
)?
@Ocramius It's empty : var_dump => string(0) ""
ping @Ocramius
From what I understand @Ocramius , @Orkin is using traditional form/www-multipart, hence it cannot be decoded using json_deocde.
I'm not against this change. It is a bit hacky but does the job for now.
@bakura10 It's only when there is file uploading with some data ;)
I'm merging now. I can understand the problem that it solves and I don't see any problems that could be introduced. I don't have time nor the courage to find a better solution for now.
Opened #197 /cc @Orkin
The request content IS the POST data. What are you trying to solve here, exactly?