?edit support

Previously looked at file extension to decide to edit rather than just
send the raw file.  Working on expecting ?edit to indicate editing