date should be forwarded into meta because last-modified is not present i #88

Merged
merged 1 commit into from Sep 15, 2011

Conversation

Projects
None yet
2 participants
@siculars
Contributor

siculars commented Sep 15, 2011

date should be forwarded into meta because last-modified is not present in a put/post reply.

macpro1:riak-js siculars$ curl http://127.0.0.1:8098/riak/test -X POST -d"test" -i
HTTP/1.1 201 Created
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue)
Location: /riak/test/VRPdMYaOf9Df8mfu7jiWoFy186f
Date: Thu, 15 Sep 2011 07:43:34 GMT
Content-Type: application/x-www-form-urlencoded
Content-Length: 0

macpro1:riak-js siculars$ curl http://127.0.0.1:8098/riak/test/test1 -X PUT -d"test" -i
HTTP/1.1 204 No Content
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue)
Date: Thu, 15 Sep 2011 07:43:55 GMT
Content-Type: application/x-www-form-urlencoded
Content-Length: 0

macpro1:riak-js siculars$ curl http://127.0.0.1:8098/riak/test/test1 -i
HTTP/1.1 200 OK
X-Riak-Vclock: a85hYGBgzGDKBVIcypz/fvoVqhZkMCUy5rEy7NZ4dpwvCwA=
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue)
Link: </riak/test>; rel="up"
Last-Modified: Thu, 15 Sep 2011 07:43:55 GMT
ETag: "51h3q7RjTNaHWYpO4P0MJj"
Date: Thu, 15 Sep 2011 07:44:05 GMT
Content-Type: application/x-www-form-urlencoded
Content-Length: 4

testmacpro1:riak-js siculars$

frank06 pushed a commit that referenced this pull request Sep 15, 2011

Francisco Treacy
Merge pull request #88 from siculars/patch-1
date should be forwarded into meta because last-modified is not present i

@frank06 frank06 merged commit fb2a8a2 into mostlyserious:master Sep 15, 2011

frank06 pushed a commit that referenced this pull request Nov 28, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment