* Roy T. Fielding <[EMAIL PROTECTED]> wrote:
> >>> A CGI script therefore should never trust Content-Length, but just
> >>> read
> >>> stdin until it meets an EOF.
> >>
> >> That is well-known to fail in CGI. A CGI must use Content-Length.
> >
> > Hmm. any pointers where this is specified? I didn't have any problems
> > with
> > this until now - but in trusting the C-L variable.
>
> CGI doesn't require standard input to be closed by the server -- Apache
> just happens to do that for the sake of old scripts that used fgets to
> read line-by-line. Other servers do things differently, which is why
> reading til EOF does not work across platforms.
Oh well :-(
I've glanced over the spec again.
...good that's only an outdated draft :^)
sorry for the confusion.
nd
--
>kann mir jemand sagen, was genau @-Domains sind?
Ein Mythos. Ein Werbetrick. Verarsche. Nenn es wie du willst...
-- Alexandra Buss und Bj�rn H�hrmann in dciwam