Changeset 15121 in project


Ignore:
Timestamp:
06/30/09 14:45:53 (10 years ago)
Author:
sjamaan
Message:

Move docs about uri-or-request to the procedure it applies to

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/http-client

    r15120 r15121  
    2525==== Main request procedures
    2626
    27 All these procedures accept [[intarweb]] {{request}} objects,
    28 [[uri-common]] {{uri}} objects or strings.  In case of an
    29 {{uri-common}} object, {{(make-request uri: uri-common)}} is used to
    30 convert the URI object to a request object.  In case of a string, the
    31 string is first converted to a URI-common object and then converted to
    32 a request object.  The upshot of all this is that it becomes extremely
    33 easy to perform basic {{GET}} requests.
    34 
    3527<procedure>(call-with-response request writer reader)</procedure>
    3628
     
    5850This procedure is a convenience wrapper around {{call-with-response}}.
    5951
    60 It is much less strict - {{uri-or-request}} can be a request object, but
    61 also an uri-common object or even a string with the URI in it, in which
    62 case a request object will be automatically constructed around the URI,
    63 using the {{GET}} method.
     52It is much less strict - {{uri-or-request}} can be an [[intarweb]]
     53request object, but also an uri-common object or even a string with the
     54URI in it, in which case a request object will be automatically
     55constructed around the URI, using the {{GET}} method.
    6456
    6557{{writer}} can be either {{#f}} (in which case nothing is written), an
Note: See TracChangeset for help on using the changeset viewer.