Welcome Guest, Not a member yet? Register   Sign In
How to change HTTP response code?
#1

[eluser]Hartimer[/eluser]
Is it possible to change Codeigniter's HTTP response code?

Since i have a controller that outputs json, that would be nice so i could "alert" the client about "exceptions".
Obviously this could be done through the json response itself, but i think it would be cleaner to do it by http response code..


Messages In This Thread
How to change HTTP response code? - by El Forum - 04-27-2010, 05:14 PM
How to change HTTP response code? - by El Forum - 04-28-2010, 01:30 AM
How to change HTTP response code? - by El Forum - 04-28-2010, 02:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB