Why wont my cookie set in firefox

#!/usr/bin/python
import Cookie
print "Content-type: text/html\n"  
C = Cookie.SimpleCookie()
C["number"] = 7
C["string"] = "seven"
print C["number"].value
print C["string"].value

print C
print "Set-Cookie: string=seven; "

anyone??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.