Skip to content
Snippets Groups Projects
  1. Oct 31, 2012
  2. Oct 30, 2012
  3. Oct 25, 2012
  4. Oct 24, 2012
  5. Oct 17, 2012
  6. Oct 16, 2012
    • Paul-Christian Volkmer's avatar
      Use exceptions instead of checking for null to send correct http code · 6508a634
      Paul-Christian Volkmer authored
      If a session was not found in database this will result in http 404,
      if the session is not accessable for the current user the request will
      result in http 403.
      
      The old behavior was to check for null. This was the response if the
      session was not found or the current user could not access this session
      (not owner and inactive sessions). Both ended up with http 404 - not found.
      6508a634
  7. Sep 19, 2012