 
 ;; Conditional GETs
 
-(defrecord ConditionalGet []
-  Example
-  (resource-map [_] {:body "Hello World!"})
+(defrecord ConditionalGet [start-time]
+  Example
+  (resource-map [_] {:body "Hello World!"
+                     :resource {:last-modified start-time}
+                     })
   (request [_] {:method :get
                 :headers {"Accept" "text/plain"}})
   (expected-response [_] {:status 200}))


#_(defrecord PostNewResource []
  Example
  (resource-map [_] {})
  (request [_] {:method :get
                :headers {"Accept" "text/plain"}})
  (expected-response [_] {:status 200}))

                    (->ResourceStateWithBody)
                    (->ResourceStateTopLevel)

                    (->ConditionalGet (:start-time component))

                    (->PutResourceMatchedEtag)
                    (->PutResourceUnmatchedEtag)
