LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Non-parsed headers?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-28-2004, 06:39 PM
satang satang is offline
Member
 
Join Date: Jun 2004
Location: Wellington, NZ
Posts: 13
Default Non-parsed headers?

Hi, I'm trying to use LiteSpeed to generate x-mixed-replace content via a FastCGI responder.

Using `strace(1)', I can see that my application is sending the response to LSWS and flushing completely. However, LSWS is not flushing the response to the client as the individual parts are received.

Note: the response I am sending to LSWS has been piped through "cat -vent" to show the control characters used.

Code:
     1  HTTP/1.0 200 OK^M$
     2  Expires: Tue, 29 Jun 2004 01:23:49 GMT^M$
     3  Date: Tue, 29 Jun 2004 01:33:49 GMT^M$
     4  Pragma: no-cache^M$
     5  Server: your mum (ports always open)^M$
     6  Content-Type: multipart/x-mixed-replace;boundary=OOK^M$
     7  ^M$
     8  ^M$
     9  --OOK^M$
    10  Content-Type: text/html^M$
    11  ^M$
    12  Hello, world!  This is response number 1$
    13  ^M$
    14  --OOK^M$
    15  Content-Type: multipart/x-mixed-replace;boundary=OOK^M$
    16  ^M$
    17  Hello, world!  This is response number 2$
    18  ^M$
    19  --OOK^M$
    20  Content-Type: text/html^M$
    21  ^M$
    22  Hello, world!  This is response number 3$
    23  ^M$
    24  --OOK^M$
    25  Content-Type: text/html^M$
    26  ^M$
    27  Goodbye, cruel world!$
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Context-level problems setting custom HTTP headers Marcus Install/Configuration 3 04-03-2007 09:35 PM
Headers always no-store, no-cache etc for PHP files? pcguru PHP 3 01-17-2007 11:30 AM
Headers Content-Type settings? Auz Install/Configuration 3 02-14-2006 10:54 AM
Headers not being sent correctly matt Bug Reports 5 10-31-2005 12:08 PM


All times are GMT -7. The time now is 04:18 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.