Github user ahgittin commented on the issue:

    https://github.com/apache/brooklyn-server/pull/899
  
    It's definitely inconsistent to give a 400 on 
`IGNORING_BUNDLE_AREADY_INSTALLED` but a 202 on 
`IGNORING_BUNDLE_FORCIBLY_REMOVED`.  i don't think there's any compelling 
reason to make that be a 400 and we should change it now before 1.0.
    
    I lean towards `201 Created` if we actually add the bundle, and a `200 OK` 
(or `202 Accepted` ?) if we've ignored but for a benign reason -- and apply 
this across the board.  no difference if `force=true`.
    
    `202` should only be used when we return a task object for tracking.


---

Reply via email to