You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/01/23 13:28:47 UTC

[GitHub] jiangphcn commented on issue #1072: Decode destination header for doc copy

jiangphcn commented on issue #1072: Decode destination header for doc copy
URL: https://github.com/apache/couchdb/pull/1072#issuecomment-359790233
 
 
   https://tools.ietf.org/html/rfc4918#section-10.3
   https://tools.ietf.org/html/rfc3986
   
   From above links, we know that
   ```
   10.3.  Destination Header
   
      The Destination request header specifies the URI that identifies a
      destination resource for methods such as COPY and MOVE, which take
      two URIs as parameters.
   
         Destination = "Destination" ":" Simple-ref
   
   
      If the Destination value is an absolute-URI (Section 4.3 of
      [RFC3986]), it may name a different server (or different port or
      scheme).  If the source server cannot attempt a copy to the remote
      server, it MUST fail the request.  Note that copying and moving
      resources to remote servers is not fully defined in this
      specification (e.g., specific error conditions).
   ```
   
   ```
   Abstract
   
      A Uniform Resource Identifier (URI) is a compact sequence of
      characters that identifies an abstract or physical resource.  This
      specification defines the generic URI syntax and a process for
      resolving URI references that might be in relative form, along with
      guidelines and security considerations for the use of URIs on the
      Internet.  The URI syntax defines a grammar that is a superset of all
      valid URIs, allowing an implementation to parse the common components
      of a URI reference without knowing the scheme-specific requirements
      of every possible identifier.  This specification does not define a
      generative grammar for URIs; that task is performed by the individual
      specifications of each URI scheme.
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services