Source code file content
15824872 SUNBT7206345 pkg update on machine with a NGZ fails
Size: 909 bytes, 1 line
Use of REST
We use REST over HTTP as the primary networking API between client and
server. That choice means that
- the client can be reimplemented,
- the server can be reimplemented, and
- decorations on a transaction, like authentication, encryption, and
redirection, can be handled using the enormous technology set around
The first two are true of any well-defined protocol, but we benefit in
this case from the wide availability of HTTP client and server
implementation starting points.
Returning a transaction ID
Plus metadata in submitted headers and contents as file body.
Dependency metadata in submitted headers.
Returning package URL.