[uWSGI] [OT] SpockFS sneak preview

Roberto De Ioris roberto at unbit.it
Fri Jan 9 18:40:46 CET 2015


> Thanks!
>
> I tried some api, and works wonderful.
>
> Is there an example to follow so I can upload a file to the server?
> Thanks.


If you do not want to use the supplied FUSE client, you only need to call
POST (to create the file) and various PUT to populate it:

POST /foobar HTTP/1.1
X-Spock-mode: 448

then

PUT /foobar HTTP/1.1
Range: bytes=0-100
Content-Length: 100

... 100 bytes of data ...

and so on


-- 
Roberto De Ioris
http://unbit.com


More information about the uWSGI mailing list