svn: r4417
This commit is contained in:
Jay McCarthy 2006-09-22 18:29:46 +00:00
parent 5bbbddac7d
commit 71b92e97d0

View File

@ -226,6 +226,8 @@
(let skip-preamble ()
(define line (read-bytes-line in 'return-linefeed))
(cond
[(eof-object? line)
(network-error 'read-mime-multipart "Port prematurely closed.")]
[(bytes=? line start-boundary)
(let read-parts ()
(define headers (read-headers in))
@ -239,6 +241,8 @@
headers contents)))])
(define line (read-bytes-line in 'return-linefeed))
(cond
[(eof-object? line)
(network-error 'read-mime-multipart "Port prematurely closed.")]
[(bytes=? line start-boundary)
(more-k empty)]
[(bytes=? line end-boundary)