> How to call "my_custome_metod" via HTTP? You can't, at least in browser :). That's one of the reason RESTful has been created, as a hack to overcome it.
On Friday, 10 January 2014 01:45:58 UTC+4, Michael Monashev wrote: > > On Thursday, January 9, 2014 10:59:01 PM UTC+4, Sam Roberts wrote: >> >> It really does sound exactly like HTTP what you describe.... >> > > HTTP gives us only GET, POST, PUT, DELETE, CONNECT, TRACE, PATCH, OPTIONS > and HEAD. WebDAV add PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK and > UNLOCK. > How to call "my_custome_metod" via HTTP? > > > >> On Thu, Jan 9, 2014 at 9:16 AM, Michael Monashev <[email protected]> >> wrote: >> > http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.40 - >> trailer >> > don`t work with not chunked request. :-( >> >> So always use chunked, why not? You only need one chunk, if you want. >> > > Good idea. 3-4 bytes + CRLF will be shoter than "Content-length: 12345" in > headers. > > > >> > And HTTP is not so compact. >> >> You want a "text human-readable protocol" that is also more "compact" >> than minimal http? I doubt that what you want exists, but check out >> BEEP. Also, FTP, though it splits the binary and text channels (for >> maximal compactness). >> > >> Sam >> > > Thank you. Sounds interesting. > > P.S. > memcached protocol is more compact than HTTP. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
