Re: "Simplified" http-request

On 10/15/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | On 10/14/07, Norman Walsh <ndw@nwalsh.com> wrote:
> |> A while back (I'm being lazy on a Sunday morning so I haven't traced
> |> down the minutes), didn't Henry push for a simplified version of
> |> http-request and didn't the WG come to some consensus for that?
> |
> | I don't remember coming to consensus.
>
> Ok, I'll have to go look through the minutes.
>
> | We allow load to handle schemes like http and https and so you
> | do have a simplified "GET" request.  In the end, setting non-standard
>
> But p:load has provision for supporting non XML responses or multipart
> responses.
>

p:load operates on options to get its URI.

p:http-request operates on a document.

I can't see how to combine "options" and "document" in p:http-request without
some aspect of deciding a priority for one over the other.  That seems error
prone for the user.

If we want a simplified p:http-request that operates on options only, let's just
make separate step (e.g. p:simple-request)

I think p:http-request is already complicated enough without adding another
way to invoke it.


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Monday, 15 October 2007 22:11:35 UTC