PHP Classes

Does'nt Support Multipart Request..

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  Does'nt Support Multipart Request..  >  (Un) Subscribe thread alerts  
Subject:Does'nt Support Multipart Request..
Summary:Does'nt Support Multipart Request..
Messages:5
Author:Hee Nam-gung
Date:2013-01-25 03:36:09
Update:2013-02-10 11:02:32
 

  1. Does'nt Support Multipart Request..   Reply   Report abuse  
Picture of Hee Nam-gung Hee Nam-gung - 2013-01-25 03:36:09
Hi,

Your package is very good.

But, I want to upload file using this package.

But, I can not.
In source.. I can,t find multipart encoding support.

Would you upgrade your package?

  2. Re: Does'nt Support Multipart Request..   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-01-30 08:15:46 - In reply to message 1 from Hee Nam-gung
What API are you trying to access that requires multipart requests?

  3. Re: Does'nt Support Multipart Request..   Reply   Report abuse  
Picture of Hee Nam-gung Hee Nam-gung - 2013-01-30 08:28:50 - In reply to message 2 from Manuel Lemos

  4. Re: Does'nt Support Multipart Request..   Reply   Report abuse  
Picture of Andrei Filonov Andrei Filonov - 2013-02-07 06:20:11 - In reply to message 3 from Hee Nam-gung
Looking at the same call - Twitter update with media, looks like there is not currently code in the source file for multipart upload.

  5. Re: Does'nt Support Multipart Request..   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-02-10 11:02:32 - In reply to message 3 from Hee Nam-gung
The HTTP class already supports uploading files. I just added support to specify which parameters should be submitted as files. The Twitter example has a commented out call to post a tweet attaching an image file.