Re: CRLF vs just LF in multipart parser

2009-12-15 Thread Karen Tracey
On Tue, Dec 15, 2009 at 7:33 PM, Dave Peck wrote: > Hello, > > I notice that Django's multipart form parser expects CRLF-style line > endings. Specifically, > django.http.multipartparser::parse_boudary_stream has a hardcoded > expectation of '\r\n\r\n' to end a part header. > > Is this line endin

CRLF vs just LF in multipart parser

2009-12-15 Thread Dave Peck
Hello, I notice that Django's multipart form parser expects CRLF-style line endings. Specifically, django.http.multipartparser::parse_boudary_stream has a hardcoded expectation of '\r\n\r\n' to end a part header. Is this line ending mandated by RFCs, or is this hardcoding a mistake? I ask becaus