hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: Post Method
Date Wed, 11 Jun 2003 02:03:26 GMT
Yes, this can be accomplished with the MultipartPostMethod.  But as you 
mentioned I think this is meant for posting larger, perhaps binary, 
content in combination with standard text parameters.

Mike

On Tuesday, June 10, 2003, at 01:46 PM, Laura Werner wrote:

> Kalnichevski, Oleg wrote:
>
>>> must the body of a post request be encoded as a URL Query?
>>>
>>
>> Yes, it must, when the post body content is specified as a set of 
>> name/value pairs.
>
> I think you're also allowed to use the multipart/form-data MIME type 
> rather than application/x-url-encoded (or whatever it's called).  
> Multipart/form-data is very handy if one or more of the values you're 
> posting is binary.  (Our VoiceXML interpreter lets applications use it 
> to send captured audio files to a server.)
>
> -- Laura
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>


Mime
View raw message