Time |
S |
Nick |
Message |
00:11 |
|
ModusPwnens |
whartung: I did some more research after your answer (this time with the -multipart option to reduce noise) and I understand a lot more now. You can just specify whatever mime-types you're receiving and the server will just receive whatever blob of data you send it. |
00:11 |
|
ModusPwnens |
whartung: I guess the only reason people really need to use multipart/form-data is because when you are uploading via an HTML form, you're usually sending other form elements along with the file |
00:11 |
|
whartung |
well to be clear, you need to have code for this. No server "out of the box" will just "take" anything you send it (I mean, it will take it, it won't actually DO anything with it). |
00:11 |
|
whartung |
correct |
00:12 |
|
ModusPwnens |
whartung: Yeah, you gotta do processing, but my understanding is that you don't have to do anything special to wire things up and make sure your server gets your data. It just does and then you can parse it. No need to mess around with multipart/form-data |
00:12 |
|
whartung |
We have code that does exactly this. We send the parameters as query parameters, and send up a zipped stream. We do this to compress the data, and then store it directy to disk. |
00:12 |
|
whartung |
right |
00:13 |
|
whartung |
in our case, out side of some simple buffers, our data never really touches memory. |
00:13 |
|
whartung |
(in our case, on the client or the server) |
00:13 |
|
whartung |
we use it to extract large amounts of data from databases |
03:24 |
|
|
ShekharReddy joined #rest |
06:15 |
|
|
ShekharReddy joined #rest |
06:52 |
|
|
zama_ joined #rest |
07:05 |
|
trygvis |
we have a "blob" server that we can throw anything at. it will return a url that the client can use in later calls |
07:05 |
|
trygvis |
our blob service does compression and deduplication so the id is basically a checksum of the data |
07:12 |
|
|
Macaveli joined #rest |
09:44 |
|
|
interop_madness joined #rest |
10:54 |
|
|
Devastator joined #rest |
10:54 |
|
|
Devastator joined #rest |
11:13 |
|
|
Macaveli joined #rest |
12:25 |
|
|
sulky_ joined #rest |
15:30 |
|
|
tbsf joined #rest |
16:14 |
|
|
fuzzyhorns joined #rest |
18:10 |
|
|
Devastator_ joined #rest |
18:18 |
|
|
anth0ny joined #rest |
18:33 |
|
|
fuzzyhorns joined #rest |
18:36 |
|
|
Devastator_ joined #rest |
19:07 |
|
|
graste joined #rest |
20:17 |
|
|
Coldblackice joined #rest |
21:39 |
|
|
fuzzyhorns joined #rest |
23:08 |
|
|
fuzzyhorns joined #rest |
23:42 |
|
|
Devastator_ joined #rest |