The tag has no wiki summary.

learn more… | top users | synonyms

29
votes
5answers
41k views

How can I make a multipart/form-data POST request using Java?

In the days of version 3.x of Apache Commons HttpClient, making a multipart/form-data POST request was possible (an example from 2004). Unfortunately this is no longer possible in version 4.0 of ...
17
votes
3answers
9k views

Node.js appears to be missing the multipart module

I am trying to parse form data, including upload files with a node.js http server. All of the tutorial type articles I have found use a require("multipart"); to include the multipart module, but when ...
16
votes
3answers
12k views

How to download multiple files with one HTTP request?

Use case: user clicks the link on a webpage - boom! load of files sitting in his folder. I tried to pack files using multipart/mixed message, but it seems to work only for Firefox This is how my ...
15
votes
1answer
9k views

Python: Sending Multipart html emails which contain embedded images

I've been playing around with the email module in python but I want to be able to know how to embed images which are included in the html. So for example if the body is something like <img ...
15
votes
2answers
8k views

Python standard library to POST multipart/form-data encoded data

I would like to POST multipart/form-data encoded data. I have found an external module that does it: http://atlee.ca/software/poster/index.html however I would rather avoid this dependency. Is there ...
14
votes
5answers
4k views

Is there a lightweight multipart/form-data parser in C or C++?

I'm looking at integrating multipart form-data parsing in a web server module so that I can relieve backend web applications (often written in dynamic languages) from parsing the multipart data ...
12
votes
4answers
6k views

Browser support of multipart responses

I would like to create a HTTP response, using multipart/mixed, but I'm not sure which browsers support it; and if it's as convenient as it sounds, from the client's point of view. To be honest, I do ...
11
votes
1answer
2k views

Help improve my file upload method (Pyramid framework)

Currently, I am using the following method for uploading files (via HTML form) in Pyramid. if request.params.get('form.submitted'): upload_directory = os.getcwd() + '/myapp/static/uploads/' ...
10
votes
3answers
3k views

Android Multipart Upload

As part of my Android app, I'd like to upload bitmaps to be remotely stored. I have simple HTTP GET and POST communication working perfectly, but documentation on how to do a multipart POST seems to ...
8
votes
1answer
8k views

What should a Multipart HTTP request with multiple files look like?

I'm working on an iPhone app that makes a multipart HTTP request with multiple image files. It looks like what's happening, on the server side, is that one of the images is getting parsed properly, ...
8
votes
3answers
7k views

Java: Receive a multipart HTTP response

I'm writing a Java client application to receive live M-JPEG video from an IP camera. The video is sent by the camera as an endless multipart HTTP message where each part is a single JPEG frame. I ...
7
votes
2answers
7k views

How to manually install a node.js module?

I want to upload a file to s3 so i want to run the upload program from this article: http://www.componentix.com/blog/9 but for this i need to install the multipart module. ...
7
votes
3answers
7k views

Generating multipart boundary

I'm writing a script that uploads a file to a cgi script that expects a multipart request, such as a form on a HTML page. The boundary is a unique token that annotates the file contents in the request ...
7
votes
4answers
30k views

Making an HTTP POST call with multipart/form-data using jQuery?

I'm trying to make a HTTP POST call with multipart/form-data , using jQuery: $.ajax({ url: 'http://localhost:8080/dcs/rest', type: 'POST', contentType:'multipart/form-data', data: ...
6
votes
3answers
2k views

Choice of transports for JSON over TCP

I'm writing a simple streaming JSON service. It consists of JSON messages, sent intermittently, for a long period of time (weeks or months). What is the best practise with regard to sending multiple ...

1 2 3 4 5 25
15 30 50 per page