Glad to hear you've got it working.

Re S3, in the REST interface, PUT is indeed the method, it's only in the SOAP interface that the data is uploaded as a DIME attachment to a SOAP envelope.

When I was writing my S3 library, I found that doing PUTs with libUrl tended to fail with data bigger than a megabyte or so, DELETE kind of worked, but seemed to take a long time to return, and I seem to remember that making HEAD requests wasn't completely plain sailing, either (nothing new there :)).
Also, libUrl won't upload files from disc using http.

The version currently knocking about used my own socket/http routines, and seems to work well enough, but the version I'm currently working with uses curl.

Best,

Mark

On 23 Nov 2008, at 15:04, David Bovill wrote:

2008/11/23 Mark Smith <[EMAIL PROTECTED]>

David, I'm not expert on this, but I'd bear in mind that webDav is not HTTP
(as far as I know).


Ive just looked and done a test - and yes WebDav uses PUT and the other basic HTTP actions - it just extends them with metadata and COPY / MOVE etc. I've set up a WebDav server and it seems to work fine - very simple from
Rev.


Also, PUT is not well supported in libUrl, and I don't think webDav is at
all (Dave Cragg may be able to say more...)

As for modernity, with Amazon's S3 service, http PUT is the main method of
getting stuff in, so that seems pretty 'modern' to me :)


I'll take another look - from memory it was a very well implemented done REST service - but the PUT you refer to was not simply the data - but a formatted XML packet - still I must look at it again and the library kicking
around on the list?
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to