Welcome Guest, Not a member yet? Register   Sign In
Having issues setting Content-Type header. Still coming out as text/html
#4

[eluser]scottelundgren[/eluser]
I believe the CI method doesn't work because the Output Class doesn't send the headers until the output is sent which according to the Output Class documentation is when execution ends. So while the fpassthru call is executing the output class hasn't sent any output yet including the set_header & won't until the calling function/controller finishes


Messages In This Thread
Having issues setting Content-Type header. Still coming out as text/html - by El Forum - 10-20-2010, 12:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB