Timeline for How do you submit an Input type of "file" using URLExecute?
Current License: CC BY-SA 3.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 7, 2021 at 6:47 | history | edited | CommunityBot | replaced http://tools.ietf.org/html/rfc with https://www.rfc-editor.org/rfc/rfc | |
| Apr 13, 2017 at 12:55 | history | edited | CommunityBot | replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/ | |
| Jan 2, 2017 at 3:40 | comment | added | ZachB | @ChristopherHaydock FYI, I updated my original answer with a way to disable M's "Expect: 100" behavior. That may help with some of your difficulties. | |
| Oct 15, 2016 at 20:06 | comment | added | Christopher Haydock | @ZachB Thank you for getting to the bottom of the "expect 100" issue, which does explain some problems that my testing encountered. Unfortunately, RFC 7578 multipart/form-data support by version 11 seems to be significantly degraded from that of version 10, which at least could be hacked to correctly send the form data. Version 11 apparently insists on adding a filename parameter regardless of whether or not the part is a file, and worse, the parts don't even seem to contain the correct data. | |
| Oct 14, 2016 at 3:07 | comment | added | ZachB | @ChristopherHaydock Sorry, I posted without testing... The Wolfram HTTPClient is using expect: "100-continue", which is not supported by many common load balancers, proxies and other things that might be between you and your server. No browsers use this header. I just tested this with and without a load balancer that does not support "expect 100" and confirmed that it breaks. I've filed a ticket with Wolfram Support. Yet another annoying part of the URLFetch/URLExecute/URLRead changes. | |
| Oct 13, 2016 at 21:41 | comment | added | Christopher Haydock | @ZachB I've tried several version 11 releases and have so far been unable to get URLRead to send multipart/form file data. | |
| Oct 12, 2016 at 19:01 | comment | added | ZachB | Since V11, no hack required: reference.wolfram.com/language/ref/URLRead.html | |
| Oct 29, 2015 at 18:36 | history | bounty awarded | C. E.♦ | ||
| Oct 25, 2015 at 11:38 | comment | added | Simon O'Doherty | Cheers for that. :) | |
| Oct 25, 2015 at 11:37 | comment | added | C. E.♦ | @SimonO'Doherty I have started a bounty to correct this, I just have to wait 24 hours before I can give it away. | |
| Oct 25, 2015 at 6:20 | comment | added | Simon O'Doherty | This worked perfectly! but I clicked bounty on the wrong person! :( | |
| Oct 25, 2015 at 6:19 | vote | accept | Simon O'Doherty | ||
| Oct 24, 2015 at 21:45 | history | edited | Christopher Haydock | CC BY-SA 3.0 | added 3 characters in body |
| Oct 24, 2015 at 21:38 | comment | added | C. E.♦ | That's a nice, timely hack! +1 | |
| Oct 24, 2015 at 21:24 | history | edited | Christopher Haydock | CC BY-SA 3.0 | deleted 10 characters in body |
| Oct 24, 2015 at 21:18 | history | answered | Christopher Haydock | CC BY-SA 3.0 |