]> Sergey Matveev's repositories - paster.git/blob - PROTOCOL
96ee59cf06d5c3e45c2057c57d3808df2737eed3
[paster.git] / PROTOCOL
1 Protocol is very simple: bencoded dictionary is sent over TCP.
2
3 * "v" key contains the data you want to paste
4 * optional "e" key, holding the desired filename extension, without the
5   leading dot, up to 9 characters long
6
7 "hello world" => d1:v11:hello worlde
8 "http://example.com/" and "url" extension => d1:e3:url1:v18:http://example.come