In reply to http://www.pwg.org/hypermail/ipp/1238.html
> Question The URI in the HTTP layer is either relative or absolute and is used by the HTTP server to route the HTTP request to the correct resource relative to that HTTP server. This "resource" is either an IPP Printer or a Job, right?
>> The HTTP server need not be aware of the URI within the operation request. Once the HTTP server resource begins to process the HTTP request, it might get the reference to the appropriate IPP Printer object from either the HTTP URI (using to the context of the HTTP server for relative URLs) or from the URI within the operation request; the choice is up to the implementation.
>> Once the Printer or Job ("the HTTP server resource") has begun to process the job, why would it need a reference to an appropriate IPP Printer object?
>> Implementation question: the server is REQUIRED to check for the presence of target URI operation attributes in every request (and respond with client-error-bad-request if not found) but is otherwise free to ignore target op. atts.? The Request-URI and target URLs might not be literally identical although they MUST both reference the same IPP object; however the server isn't required to verify this?
>> Carl Kugler
> Question 2 -- [Carl-Uno noted that the Discussion in the document is not relevant to the Question. The Discussion will be removed, or atttached to a different Question (see below.)] Answer: Yes, the resource is either an IPP Printer or a Job. However, the group was unable to address the remaining parts of the Question. They will request Carl Kugler to provide further clarification. It is (at least) unclear what assumptions are being made.
Okay, let me try to clarify.
We've established that the "HTTP server resource" referred to in the
document is either 1) an IPP Printer, or 2) an IPP Job. If we
substitute the words "IPP Printer (or IPP Job)" for "HTTP Server
resource" in the original sentence, we get:
> Once the IPP Printer (or IPP Job) begins to process the HTTP request, it might get the reference to the appropriate IPP Printer object from either the HTTP URI (using to the context of the HTTP server for relative URLs) or from the URI within the operation request; the choice is up to the implementation.
I cannot understand this sentence. What are the words "appropriate IPP
Printer object" referring to in this sentence? Why would a Printer or
Job object processing an IPP request need a "reference to the
appropriate IPP Printer object"? What is the Printer or Job supposed to
do with the reference?
Note: I realize that the sentence in the document says "begins to
process the HTTP request", not "IPP request". However, if the "HTTP
server resource" processes only the HTTP part of the request (and not
the IPP), then there is no choice to use the URI within the IPP
operation request, so the sentence makes no sense.
-Carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pwg.org/archives/pwg/attachments/19980916/32fb7afd/1238-0001.html