Commit 0a30bca
committed
Use request.mimetype instead of request.content_type
request.content_type has encoding and other information associated
with it. If we send in multipart/form-data, the content_type attribute
is not just the mime type which is what we are interested in here, but
is a string of the form multipart/form-data;...1 parent 3840761 commit 0a30bca
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
0 commit comments