[Gambas-user] CURL: Custom outgoing headers

Shannon Smith shannon at ...2384...
Mon Mar 8 20:10:43 CET 2010


That would work, but I still need to send that custom header. :-(

Manual it is.....

2010/3/8 Benoît Minisini <gambas at ...1...>

> > > On 8 March 2010 14:26, shannon at ...2384...
> > >
> > > <shannon at ...2384...> wrote:
> > > > Related question: sending a jpg as POST data - open the file as
> sring?
> > > > byte? I've tried all without success. Any guidance would be helpful!
> > >
> > > Get the data in byte format and use the enctype="multipart/form-data"
> > > protocol.
> > >
> > > http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2
> > >
> > > http://www.faqs.org/rfcs/rfc1867.html
> >
> > Isn't it possible just do: MyHttpClient.Post(File.Load("image.jpeg"),
> > "image/jpeg") ?
>
> Oops, I meant:
>
>  MyHttpClient.Post("image/jpeg", File.Load("image.jpeg"))
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Shannon Smith
831 Photography
www.831Photography.com
330-753-8703



More information about the User mailing list