In a module I have the following line:

current.response.headers["Content-Type"] = "application/json"

Eclipse underlines headers and flags an error "Undefined variable from 
import:headers"

Is there an alternative expression to access .headers so that I can be 
error free?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to