Skip to content

website issues #271

@brucen1030

Description

@brucen1030
  1. All the 4xx error should return error document.
    https://docs.aws.amazon.com/AmazonS3/latest/API/API_ErrorDocument.html
    Now only in 404, yig returns error document and returns hard coded 404.
    It's expected to handle and return proper 4xx error code.
    To Reproduce
    Check ReturnWebsiteErrorDocument().

  2. There is no support for header x-amz-website-redirect-location.

  3. In DoRedirect(), yig returns 302 StatusFound, while 301 StatusMovedPermanently is expected.
    https://amazonaws-china.com/cn/premiumsupport/knowledge-center/redirect-domain-route-53/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions