Changeset 68 for trunk/Components/CoolWeb/WebServer/UHTTPServerCGI.pas
- Timestamp:
- Dec 26, 2011, 12:07:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Components/CoolWeb/WebServer/UHTTPServerCGI.pas
r67 r68 66 66 repeat 67 67 Count := InputStream.Read(Buffer[1], Length(Buffer)); 68 Request.Content.Write(Buffer[1], Count);68 if Count > 0 then Request.Content.Write(Buffer[1], Count); 69 69 until Count = 0; 70 70 finally … … 77 77 78 78 // Load data 79 if Request.Headers.IndexOfName('Content-length') <> -1 then79 (*if Request.Headers.IndexOfName('Content-length') <> -1 then 80 80 try 81 81 InputStream := TIOStream.Create(iosInput); … … 83 83 finally 84 84 InputStream.Free; 85 end; 85 end; *) 86 86 87 87 // Load environment variables
Note:
See TracChangeset
for help on using the changeset viewer.