View/Edit #81:tell_bmp

Switch to edit mode.

Name(s): tell_bmp
1:  if (this.header_issued)
2:    raise(E_INVARG, "Must call :tell_bmp before header has been sent")
3:  elseif (this == $webber)
4:    raise(E_PERM, "$webber is a generic.")
5:  endif
6:  this:notify("HTTP/1.0 200 OK")
7:  this:notify($www:server_name())
8:  this:notify("Content-type: image/bmp")
9:  this:notify(tostr("Content-length: ", $string_utils:length(args[1])))
10: this:notify("")
11: this.header_issued = 1
12: set_connection_option(this, "binary", 1)
13: this:notify(args[1])
14: set_connection_option(this, "binary", 0)
15: "Last modified by Dax (#789) on Mon Aug 14 14:34:11 2000 MDT."
16: "This verb previously owned by manta (#7165), and chowned to $slacker upon dewizarding (Sat Aug 17 14:50:05 2002 MDT)."
17: "Last modified by Dax (#789) on Sat Aug 17 14:50:05 2002 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]