1. 13 2月, 2019 1 次提交
    • J
      Set default `Error` status code to 404 (#6276) · f43e1a95
      Joe Haddad 提交于
      * Set default `Error` status code to 404
      
      This is an appropriate default behavior because:
      
      1. When the server encounters an error, the `err` property is set.
      2. When the client-side application crashes, the `err` property is set.
      
      This means the "only" way to render the `/_error` page without an error
      is when a page is not found (special condition).
      
      Fixes #6243
      Closes #5437
      
      * Add new integration test for client side 404
      
      * single quotes
      
      * Remove unused variable
      
      * Standard needs to go away
      
      * Whoops
      
      * Check for null status code in res and err
      
      * Only check response for valid statusCode
      f43e1a95
  2. 12 2月, 2019 7 次提交
  3. 11 2月, 2019 11 次提交
  4. 10 2月, 2019 5 次提交
  5. 08 2月, 2019 4 次提交
  6. 04 2月, 2019 1 次提交
  7. 03 2月, 2019 5 次提交
  8. 01 2月, 2019 4 次提交
  9. 31 1月, 2019 1 次提交
  10. 30 1月, 2019 1 次提交