AvisoNovate / rook

Smart namespace-driven routing for Pedestal
http://rook.readthedocs.io/en/latest/index.html
Apache License 2.0
75 stars 11 forks source link

io.aviso.rook.client/then should allow :pass in addition to a vector #27

Closed hlship closed 10 years ago

hlship commented 10 years ago

It is somewhat common to write:

(c/then
   HttpServletResponse/SC_NOT_MODIFIED [response response]
  :success [response ...]
  :pass-failure)

It would be nice to be able to say:

(c/then
   HttpServletResponse/SC_NOT_MODIFIED :pass
  :success [response ...]
  :pass-failure)