Ticket #313: http-client-flush-output.patch

File http-client-flush-output.patch, 672 bytes (added by Moritz Heidkamp, 14 years ago)
  • http-client.scm

     
    396396             ;; Maybe try and figure out a good way to use the
    397397             ;; "Expect: 100-continue" header to prevent too much writing?
    398398             ;; Unfortunately RFC2616 says it's unreliable (8.2.3)...
    399              (_ (writer request))
     399             (_ (begin (writer request) (flush-output (request-port req))))
    400400             (response (read-response (http-connection-inport con)))
    401401             (cleanup! (lambda ()
    402402                         (unless (and (keep-alive? request)