# Decoding Multipart responses

**URL:** <https://www.ruby-forum.com/t/decoding-multipart-responses/139782>\
**Category:** Ruby\
**Created:** [June 6, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/decoding-multipart-responses/139782 "2008-06-06T23:14:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubylicious](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@rubylicious](https://www.ruby-forum.com/u/rubylicious)\
**Post date:** [June 6, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/decoding-multipart-responses/139782/1 "2008-06-06T23:14:32Z")

</div>

I’ve been struggling with Soap4R  
([http://groups.google.com/group/soap4r/browse\_thread/thread/e7372dff4d5708da](http://groups.google.com/group/soap4r/browse_thread/thread/e7372dff4d5708da))  
trying to make it read the CSV attachment that comes back with a web  
service response (attached). So I decided I’d try to make use of  
net/http and just post literal soap xml. The response comes back just  
fine but does anyone know of a way to parse multipart mime messages?  
Doesn’t seem like theres any gems out there for it and the only other  
top hit is the Chilkat library which just looks, well, not friendly. I  
suppose I could roll my own multipart parser but that just seems like  
something that should be out there already.

Thanks in advance for any advice, if you need more information as to the  
original request please let me know!

Corey
