For posterity, here's the issue:

CGIDEV2 (MultiPartFrom procedure in XXXCGIPARS module) reads the boundary that's declared in the HTTP headers and then uses that stored boundary value to locate the different sections of the header. The ASP.NET client encloses the boundary declaration in double quotes, but only the declaration, subsequent boundaries appear without the double quotes. CGIDEV2 considers the double quotes to be part of the boundary value, so it fails to locate any of the sections. Web browsers don't put double quotes in any boundaries.



-----Original Message-----
From: Justin Taylor [mailto:JUSTIN@xxxxxxxxxxxxx]
Sent: Sunday, June 21, 2015 8:17 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Advice-Webservice with file transfer

I got it working using CGIDEV2. I ran into some quirks I had to work around. Not sure if CGIDEV2 is at fault or the .NET client.

Thanks




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.