IPP Mail Archive: IPP> ippget Design Needs Work

IPP> ippget Design Needs Work

From: mjoel@netreon.com
Date: Fri Jul 20 2001 - 11:52:55 EDT

  • Next message: Hastings, Tom N: "RE: IPP> ippget Design Needs Work [use multi-part/related?]"

    Hello

    Mike just brought up an important point, that chunking can be removed when
    the client receives it. Michael just raised the suggestion that multi-part
    be used. I like that idea.

    I had thought that using a tag to mark the end of each event notification
    attributes group was a good idea, but I'm now thinking differently.

    A well-designed client or server will separate http processing from ipp
    processing. When the client asks for Get-Notifications with waiting, one
    layer should be handling receiving the http, and when a complete event
    group is received, pass it to the ipp processor to parse and handle. But
    the http parser shouldn't need to be doing ipp parsing to know when it's
    done receiving a full event group, which is why the
    end-of-event-notification-attributes-group-tag idea isn't good. Mike's
    point prevents the client from using chunking to determine the end of an
    event group.

    Short of doing away with wait mode, is there anything besides multi-part
    that solves this problem?

    Marty



    This archive was generated by hypermail 2b29 : Fri Jul 20 2001 - 11:56:50 EDT