Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: return 404 for alloc FS list/stat endpoints #11482

Merged
merged 2 commits into from
Nov 17, 2021
Merged

api: return 404 for alloc FS list/stat endpoints #11482

merged 2 commits into from
Nov 17, 2021

Commits on Nov 9, 2021

  1. api: return 404 for alloc FS list/stat endpoints

    If the alloc filesystem doesn't have a file requested by the List
    Files or Stat File API, we currently return a HTTP 500 error with the
    expected "file not found" error message. Return a HTTP 404 error
    instead.
    tgross committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    7e8c154 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. update FS Handler

    Previously the FS handler would interpret a 500 status as a 404
    in the adapter layer by checking if the response body contained
    the text  or is the response status
    was 500 and then throw an error code for 404.
    ChaiWithJai committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    5431400 View commit details
    Browse the repository at this point in the history