Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Fedora API specifies 3 methods of handling external content, all of which are supported.

  1. copy - Copy the binary from the provided URI and then treat it as a normal internal LDP-NR.
  2. redirect - On requests for the LDP-NR provide a redirect (302 Found or 307 Temporary Redirect) to the external URI.
  3. proxy - On requests for the LDP-NR proxy the request through the Fedora server the client with the same interaction as an internally stored LDP-NR.

The External Content Link also allows for If you provide a type= option. This is the parameter to the Link header this content type that MUST will be used by the server if provided.If , however if type= is omitted, then the server attempts to determine the Content-Type.

...

If the external URI has a http prefix then a HEAD request is made to the remote server the URI provided in the Link header to retrieve the Content-type header, if this header is not returned the resource cannot be added to the repository.