Minor typos in raw-http-howto.txt

Justin Sheehy justin at basho.com
Thu Jan 28 23:08:31 EST 2010


Thanks for the catch -- pushed to tip.

-Justin



On Wed, Jan 27, 2010 at 1:33 PM, Jay Doane <jay.s.doane at gmail.com> wrote:
> Going through the examples, I found some minor typos that probably don't
> warrant a fork + pull request.
>
> Jay
>
>
> diff -r 57d4a53fbb99 doc/raw-http-howto.txt
> --- a/doc/raw-http-howto.txt    Tue Jan 12 19:36:29 2010 -0500
> +++ b/doc/raw-http-howto.txt    Wed Jan 27 10:29:37 2010 -0800
> @@ -130,7 +130,7 @@
>
>    $ curl -X PUT -H "content-type: application/json" \
>      http://127.0.0.1:8098/raw/example \
> -     --data "{\"props\":{\"allow_mult\":true}}
> +     --data "{\"props\":{\"allow_mult\":true}}"
>    $ curl -X PUT -H "content-type: text/plain" \
>      http://127.0.0.1:8098/raw/example/sib --data "one thing"
>    $ curl -X PUT -H "content-type: text/plain" \
> @@ -167,7 +167,7 @@
>  header to multipart/mixed.  Riak will hand back each of the versions
>  as a separate part of a multipart/mixed document:
>
> -   $ curl -i -H "accept: multipart/mixed" http://127.0.0.1:8098/raw/sib/one
> +   $ curl -i -H "accept: multipart/mixed"
> http://127.0.0.1:8098/raw/example/sib/
>    HTTP/1.1 300 Multiple Choices
>    X-Riak-Vclock:
> a85hYGBgz2DKBVJszUlMCj+kMpgSGfNYGVy/xR/hg0iwMPg9FYMK2yELvzwvhEU1yyfGjVDh4hUIYXbJhmaocB5CGGgps/qNZEz1QAm2fc6lyNZmAQA=
>    Vary: Accept, Accept-Encoding
> @@ -182,14 +182,14 @@
>    Etag: 6YUKo8vXvtBAXD0Hjy8crv
>    Last-Modified: Fri, 30 Oct 2009 18:12:03 GMT
>
> -   goodbye
> +   one thing
>    --IASZJsIrb8ykNEc1fuue9LitToc
>    Content-Type: text/plain
>    Link: </raw/sib>; rel="up"
>    Etag: 4XcBgFOm0Ab517wWjNXeWc
>    Last-Modified: Fri, 30 Oct 2009 18:11:58 GMT
>
> -   hello
> +   another
>    --IASZJsIrb8ykNEc1fuue9LitToc--
>
>  To resolve the conflict, just issue another PUT, with the body you
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list