Changeset 33891 in project


Ignore:
Timestamp:
03/19/17 14:17:42 (2 months ago)
Author:
sjamaan
Message:

http-client: Add exception info for bad URI argument to docs

File:
1 edited

Legend:

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

    r33749 r33891  
    116116; {{filename:}} : This indicates the filename to pass on to the server.  If not specified or {{#f}}, the {{file:}}'s string (or port-name in case of a port) will be used.
    117117; {{headers:}} : Additional headers to send for this entry (an [[intarweb]] headers-object).
     118
     119If the URI argument is not a valid URI, a condition of type
     120{{(exn http client-error bad-uri)}} will be raised.
    118121
    119122<procedure>(call-with-input-request* uri-or-request writer reader)</procedure>
     
    511514=== Changelog
    512515
    513 * trunk Add {{max-idle-connections}} to avoid FD exhaustion (thanks to [[/users/alaric-blagrave-snellpym|Alaric]] for pointing out this issue).
     516* trunk Add {{max-idle-connections}} to avoid FD exhaustion (thanks to [[/users/alaric-blagrave-snellpym|Alaric]] for pointing out this issue).  Add type and value check for uri argument (thanks to Lemonman for pointing this out).
    514517* 0.10 Do not read {{HTTP_PROXY}} if {{REQUEST_METHOD}} is present (running in a CGI script), to prevent "[[https://httpoxy.org|httpoxy]]" attack (CVE-2016-6287).
    515518* 0.9 Add support for custom connector procedures.  Thanks to Ryan Senior for suggesting support for https client certificates, which this makes possible.
     
    531534=== License
    532535
    533   Copyright (c) 2008-2016, Peter Bex
     536  Copyright (c) 2008-2017, Peter Bex
    534537  Parts copyright (c) 2000-2004, Felix L. Winkelmann
    535538  All rights reserved.
Note: See TracChangeset for help on using the changeset viewer.