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

GET w/ bad Accept header now returns proper error #966

Closed
wants to merge 7 commits into from

Commits on Jan 28, 2016

  1. GET w/ bad Accept header now returns proper error

    - When an invalid or unsupported format type was requested the wrong
    HTTP error code was returned.  Now it returns the correct one.
    
    Resolves: https://jira.duraspace.org/browse/FCREPO-1840
    bseeger committed Jan 28, 2016
    Configuration menu
    Copy the full SHA
    d7f699b View commit details
    Browse the repository at this point in the history
  2. Cleaned up the test code

    bseeger committed Jan 28, 2016
    Configuration menu
    Copy the full SHA
    6bd534d View commit details
    Browse the repository at this point in the history
  3. mime-type check, returning 406 on invalid type

    -Stricter mime-type checking
    
    Resolves: https://jira.duraspace.org/browse/FCREPO-1840
    bseeger committed Jan 28, 2016
    Configuration menu
    Copy the full SHA
    797a4aa View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2016

  1. Minor tweaks to make the code cleaner.

    bseeger committed Jan 29, 2016
    Configuration menu
    Copy the full SHA
    2a1214f View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2016

  1. Revert "Back up to less strict mime-type checking"

    This reverts commit 2a1214f.
    This reverts commit 797a4aa.
    bseeger committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    9e50a08 View commit details
    Browse the repository at this point in the history
  2. Changed method name to make its use clearer.

    bseeger committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    a1714b3 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2016

  1. Add mime-type check for GET of binary resources.

    bseeger committed Feb 18, 2016
    Configuration menu
    Copy the full SHA
    d00cbfd View commit details
    Browse the repository at this point in the history