libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] PUT and DELETE


From: address@hidden
Subject: [libmicrohttpd] PUT and DELETE
Date: Fri, 24 Aug 2012 18:58:49 +0200

Hey all,

I noticed that the method passed to:

Function Pointer: int *MHD_AccessHandlerCallback (void *cls, struct 
MHD_Connection * connection, const char *url, const char *method, const char 
*version, const char *upload_data, size_t *upload_data_size, void **con_cls)

will always be GET, POST, PUT or DELETE.  This is all well and good for GET, 
POST, and DELETE, but for PUT I was wondering how that worked in terms of 
upload_data?  Is it the same as POST where for small chunks of data it is 
directly accessible via MHD_get_connection_values() whereas for larger requests 
it is via upload_data?

Cheers,
Mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]